Closed eric-g-97477 closed 1 year ago
The -dissolve2 gap-fill-area=
option is designed to fill in gaps between adjacent rings that are fully bounded by the rings -- in other words, holes between two adjacent rings. In your example, the gap between the two rings is open, not bounded. Mapshaper can convert a polygon feature into a bounding rectangle using the -rectangles
command, but it doesn't sound like this is what you want to do.
Let's say I have the following data:
(
test.geo.json
)Is it possible to merge a & b by creating an enclosing polygon? i.e. the a & b features would disappear and be replaced by:
I thought this is what gap-fill-area might be able to do, but even with large values, it does not.