Originally contributed by Amanda Hickman to the project wiki. This walkthrough shows how to combine and prune two boundary layers to produce a single GeoJSON file you can use as a custom basemap (for ...
The cleanup flag is a bit simpler. If you add it to a -clip or -erase command, mapshaper will remove tiny slivers that can form where the boundaries of the clipping layer and the target layer closely ...