Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement coordinate signing/normalization mechanism from #46 #102

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lukas-h
Copy link
Member

@lukas-h lukas-h commented Jun 20, 2022

As described in comment: #46 (comment)

The decision was, to keep Position unsigned by default, but it can be converted to a signed coordinate easily!

The imagined behaviour with signed/unsigned is similar to DateTime, which can be local or UTC. The DateTime has conversion functions toLocal() and toUTC(), that return a new object. Internally it uses a boolean to save the state (local = true/false).


Tasks:

  •  Implementation
  • Documentation
  • Tests

@lukas-h lukas-h added this to the Improve GeoJSON Core milestone Jun 20, 2022
@lukas-h
Copy link
Member Author

lukas-h commented Dec 20, 2022

@armantorkzaban I will continue to work on this in the next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant