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 fiona and fix geojson errors #100

Merged
merged 5 commits into from
Jul 3, 2020
Merged

Support fiona and fix geojson errors #100

merged 5 commits into from
Jul 3, 2020

Conversation

mattijn
Copy link
Owner

@mattijn mattijn commented Jul 2, 2020

No description provided.

@mattijn mattijn merged commit 2d7558a into master Jul 3, 2020
@mattijn
Copy link
Owner Author

mattijn commented Jul 3, 2020

few changes in this PR:

  • changed the parameter in to_json()/to_geojson() from pretty=False, to style='compact' or style='pretty'
  • force the to_geojson() and .__geo_interface__ to abide the right hand rule by default
  • serializing of MultiLineString's in Hashmap class was somehow not included.
  • catch and raise if geojson is not installed, when it is tried to use it during forcing
  • support for Fiona Collections, this requires geojson which remains optional

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