Add LinkedGeo <-> GeoMultiPolygon conversion functions#1126
Add LinkedGeo <-> GeoMultiPolygon conversion functions#1126ajfriend merged 10 commits intouber:masterfrom
Conversation
I agree that we don't need to be as strict about these conversion functions: 1) They wouldn't be exposed to users of the bindings. 2) These are really only for backwards compatibility, and we'll be recommending that people use That being said, if a user does need to convert between them, I think providing the utilities to do so is helpful, rather than having them rewrite it themselves (like we historically did in the bindings). |
|
Agreed with @isaacbrodsky that we can have these functions be internal for now. It would be easy to expose them in the future if desired. |
Co-authored-by: Isaac Brodsky <[email protected]>
|
Updated based on comments, and code coverage stays at 100% for changes. |
linkedGeoPolygonToGeoMultiPolygonandgeoMultiPolygonToLinkedGeoPolygonfor converting between the two polygon representationsE_FAILEDotherwise). Empty multi-polygons (0 polygons) are allowed.cellsToLinkedMultiPolygonimplementation withcellsToMultiPolygon#1127