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

decimals for geojson and fix topoquantize in class #144

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

mattijn
Copy link
Owner

@mattijn mattijn commented Oct 8, 2021

This PR introduce the option to set the number of decimals in the .to_geojson() function and builds upon https://numpy.org/doc/stable/reference/generated/numpy.around.html.

Next to this found out that the topoquantize setting within Topology() is not applied inplace. This PR applies a fix for this.

@mattijn mattijn merged commit 1c84fb4 into master Oct 8, 2021
@mattijn
Copy link
Owner Author

mattijn commented Oct 8, 2021

Fix #142

@mattijn mattijn deleted the round-decimals-fix-topoquantize branch June 9, 2022 12:21
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.

None yet

1 participant