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 precision for GeometryCollection geometries in fiona.transform #972

Merged

Conversation

rbuffat
Copy link
Contributor

@rbuffat rbuffat commented Oct 19, 2020

Currently, fiona.transform does not support GeometryCollection geometries when the precision argument is set (see #971).

This PR refactors the way geometries are rounded after the transformation and supports GeometryCollection.
@sgillies I'm not sure if this is the best way to solve this issue. The code looks a bit complicated.

@coveralls
Copy link

coveralls commented Oct 19, 2020

Coverage Status

Coverage increased (+0.06%) to 87.35% when pulling 620d010 on rbuffat:transform_geometrycollection_precision into e0c9350 on Toblerity:maint-1.8.

@rbuffat rbuffat marked this pull request as ready for review October 19, 2020 14:06
@rbuffat rbuffat mentioned this pull request Nov 17, 2020
Copy link
Member

@sgillies sgillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

@sgillies sgillies added this to the 1.8.18 milestone Nov 17, 2020
@sgillies sgillies added the bug label Nov 17, 2020
@sgillies sgillies merged commit 123ce0c into Toblerity:maint-1.8 Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants