MapShaper – Simplify the geometries

MapShaper

Simplify the geometry of polygon and polyline features WITH console options ADD export to shapefile, geoJSON, topoJSON, CSV

Usage: mapshaper -<command> [options] …
Editing commands
-i input one or more files
-o output edited content
-simplify simplify the geometry of polygon and polyline features
-join join data records from a file or layer to a layer
-each create/update/delete data fields using a JS expression
-sort sort features using a JS expression
-filter delete features using a JS expression
-filter-islands remove small detached polygon rings (islands)
-filter-fields filter and optionally rename data fields
-rename-fields rename data fields
-clip use a polygon layer to clip another layer
-erase use a polygon layer to erase another layer
-dissolve merge adjacent polygons
-dissolve2 merge adjacent and overlapping polygons
-explode divide multi-part features into single-part features
-innerlines convert polygons to polylines along shared edges
-lines convert polygons to polylines, classified by edge type
-points create a point layer from polygons or attribute data
-split split features into separate layers using a data field
-merge-layers merge multiple layers into as few layers as possible
-rename-layers assign new names to layers
-subdivide recursively split a layer using a JS expression
-split-on-grid split features into separate layers using a grid
Informational commands
-calc Calculate statistics about the features in a layer
-encodings print list of supported text encodings (for .dbf import)
-version, -v print mapshaper version
-info print information about data layers
-verbose print verbose processing messages
-help, -h print help; takes optional command name Enter mapshaper
-help <command> to view options for a single command
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: