- Download and install Mapshaper
$ npm install -g mapshaper
- Using a topologically-sound polygon dataset as the input, run and
-innerlines
tag on the mapshaper command:
$ mapshaper boundary_polygons.shp -innerlines -o
-
This will output “boundary_polygons-ms.shp” polylines suitable for symbolizing the the inner, shared boundaries of an administrative structure.
- NOTE: This will strip the resultant polyline geometries of all attributes. The original polygons should be used for labels or other symbolizations.