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

Support geojson with altitude #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ninok
Copy link

@ninok ninok commented Nov 15, 2019

According to geojson spec the coordinates of a feature can have 3 dimensions.
Before this change the 3rd component of the geometry was misused to store the simplification values of the Douglas-Peucker algorithm.
With this change the simplification values are stored in a separate array(sqDist) and the 3rd component of the coordinate remains untouched.

Signed-off-by: Nino Kettlitz [email protected]

According to geojson spec the coordinates of a feature can have 3 dimensions.
Before this change the 3rd component of the geometry was misused to store the simplification values of the Douglas-Peucker algorithm.
With this change the simplification values are stored in a separate array(sqDist) and the 3rd component of the coordinate remains untouched.

Signed-off-by: Nino Kettlitz <[email protected]>
@asheemmamoowala asheemmamoowala changed the base branch from master to main June 19, 2020 17:35
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