– easy editing polygon and polyline datasets for mapping purposes

Mapshaper by mbloch is one of my favourite “swiss army knife”-tools if you need fast data reduction and topology first aid in polygon data handling. There a two versions of mapshaper. The first is a hosted webservice:, where you can easily upload .shp-, GeoJson- or TopoJson-Files via drag&drop or folder selection. Afterwards you have to chose your simplification method (Douglas-Peucker, Visvalingam or modified Visvalingam) and some other options like “repair intersections”, “auto snap” and “prevent shape removal” and you’re ready to go.

The second mapshaper-version is for your command line (which make it scriptable – very nice!) and requires Node.js. Once installed, you can start working on your data and code your own scipts to convert data (e.g. .shp to geoJson), get data informations, simplificate with snapping and rounding, make data field calculations, filter, join and much more. The full command reference your get here:

What mapshaper does:

  1. File merge/combine
  2. Coordinate rounding and snapping
  3. Topology identification
  4. Table join
  5. Simplification
  6. Filter
  7. Expression calculation
  8. Split
  9. Subdivide
  10. Dissolve
  11. Post-filter
  12. Boundary classification
  13. Merge layers
  14. Split-on-grid

My example of data simplification with

100 % dataset without simplification
100 % dataset without simplification

5.7 % dataset simplified with
5.7 % dataset simplified with

4 1 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newest Most Voted
Inline Feedbacks
View all comments
10 years ago

The neat thing about mapshaper, is even the web version is all local to your machine. Nothing actually gets uploaded to their server.

10 years ago

Excellent tool! Thanks.

10 years ago

Is there a how-to-setup-instruction for mapshaper on my local pc(guess I need a local webserver?) for non-nerds?