I do not want to fill in the holes from an inner ring - I want to remove the definition of an inner ring from the shape.
Background:I'm working with software that is not smart enough to understand that a hole is not part of a shape. It's better than just MBR but not by much. So everything inside a donut is part of the shape, in the world of this software. This is not good (think a polygon file of roads - we only want the roads to exist not a massive polygon of the entire city).
Concept:What I'd love is a way to slice each polygon into two polygons (with coincident geometries along the slice) so that the effective polygon area and extents are the same but the rings are removed. I do not care how/where/how many slices exist - only that that single donut becomes 2+ pieces of complete polygon without an inner ring.
I'm open on the language and/or approach, and I'm sorry if this one has been answered as I'm not exactly sure how to frame the question (the question is a construct from the software).
أكثر...
Background:I'm working with software that is not smart enough to understand that a hole is not part of a shape. It's better than just MBR but not by much. So everything inside a donut is part of the shape, in the world of this software. This is not good (think a polygon file of roads - we only want the roads to exist not a massive polygon of the entire city).
Concept:What I'd love is a way to slice each polygon into two polygons (with coincident geometries along the slice) so that the effective polygon area and extents are the same but the rings are removed. I do not care how/where/how many slices exist - only that that single donut becomes 2+ pieces of complete polygon without an inner ring.
I'm open on the language and/or approach, and I'm sorry if this one has been answered as I'm not exactly sure how to frame the question (the question is a construct from the software).
أكثر...