mbloch / mapshaper

Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
http://mapshaper.org
Other
3.74k stars 532 forks source link

idea for-clip feature #597

Closed 2803media closed 1 year ago

2803media commented 1 year ago

Hi

Is it possible to add a min-area= in the -clip function in order to remove part of the clipping? I notice that there is remove-slivers option but with a min-area this may be more powerful

Do you think that it will possible?

2803media commented 1 year ago

Sorry it's working with this:

mapshaper communes.shp \
    -clip PLU_.json \
    -filter-slivers min-area=10km2 \
    -o PLU_2.shp