Replace use of deprecated collections with get_paths #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features are now created per contour-level instead of per-polygon.
For
contour_to_geojson
we now split the path into subpaths ourselves, but it should be rather straight forward.For
contourf_to_geojson
there are some larger changes as one path is emitted per level. Here the contours are combined by checking the handedness of the polygons, and assuming the contours follows sensible conventions, i.e. the first CCW polygon is a ring and following CW polygons represents holes.Benchmark files had to be updated to update
level-index
and the color which was off-by-one if I understand the code correctly.