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

Fix hashmap and topology errors #72

Merged
merged 2 commits into from
Apr 26, 2020
Merged

Conversation

mattijn
Copy link
Owner

@mattijn mattijn commented Apr 26, 2020

This PR fix 7 broken tests that were committed in 1646ee7.

The tests regarding the Hashmap class, can now correctly parse nested geometry collections which could not parse hashmapper before .

The tests regarding the .to_geojson() also can now correctly parse nested geometry collections, and combinations of both points and polygons. This is quite cumbersome, since line strings and polygons are supported through a top-level arcs object, but coordinates of point and multipoint types are stored within the object itself (which can be quantized).

Default the pretty and validate in the .to_json() and to_geojson() to False.

Last, bump version to rc9, which can be released now since all 136 tests pass.

@mattijn mattijn merged commit 6a97f10 into master Apr 26, 2020
@mattijn
Copy link
Owner Author

mattijn commented Apr 26, 2020

Version 1.0rc9 is now on Pypi: https://pypi.org/project/topojson/1.0rc9/

@mattijn mattijn deleted the fix-hashmap-and-topology-errors branch April 28, 2020 13:31
@mattijn mattijn mentioned this pull request Apr 28, 2020
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