I have a GeoJSON file I am processing through Mapshaper.
{"type":"FeatureCollection", "features":[ ..... ], "metadata":{"errata":[], "totalFeatures":23,"timeStamp":"2026-05-15T10:27:03.221Z"},"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}}}
Unfortunately it is keeping the features and nothing else. The metadata and crs properties are not being preserved. This is the command I am running.
npm exec -- mapshaper -i $file --clean allow-overlaps --filter-slivers remove-empty -o $file force metadata
Thank you.
I have a GeoJSON file I am processing through Mapshaper.
{"type":"FeatureCollection", "features":[ ..... ], "metadata":{"errata":[], "totalFeatures":23,"timeStamp":"2026-05-15T10:27:03.221Z"},"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}}}Unfortunately it is keeping the features and nothing else. The metadata and crs properties are not being preserved. This is the command I am running.
npm exec -- mapshaper -i $file --clean allow-overlaps --filter-slivers remove-empty -o $file force metadataThank you.