What's new
This is a curated list of recently added features. For the full list of changes, including bug fixes and internal work, see the changelog on GitHub.
April 2026
Undo/redo buttons. The web UI now has an undo/redo toolbar. Undo and redo were already supported in the geometry and attribute editing modes; the toolbar makes them more discoverable for users who didn't know the keyboard shortcuts (⌘Z / ⌘⇧Z) existed.
Command files. A sequence of Mapshaper commands can be written to a .txt file with # comments and no shell quoting, and run with -run <file> (or just mapshaper commands.txt). Command files can also be written in a shell-compatible way, if you want to be able to paste the commands into the terminal or add them to a shell script. In a future release, these files will also be runnable in the browser.
mapshaper build.txt
→ See Command files in the reference.
Variable interpolation in commands. Command files and command lines support {{VAR}} placeholders, resolved at run time against environment variables ({{env.HOME}}), values set with the new -vars and -defaults commands, and variables defined dynamically by -calc, -define and -each expressions.
mapshaper -vars YEAR=2030 PCT=5 -run build.txt
→ See Variable interpolation, -vars and -defaults.
Farewell to dissolve2. The -dissolve command now uses Mapshaper's most robust dissolve function, which can handle overlaps, gaps and other topology errors. The legacy faster algorithm is still available as -dissolve no-repair. (The old -dissolve2 is just an alias for -dissolve.)
→ See -dissolve.
FlatGeobuf and GeoPackage support. Mapshaper reads and writes FlatGeobuf (.fgb) and GeoPackage (.gpkg) files.
→ See FlatGeobuf, GeoPackage and -i layers=.
SVG import. SVG files exported by Mapshaper can be re-imported — useful for making stylistic edits.
→ See SVG.