Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
0787b16
Refactor expressions
mbloch Dec 9, 2023
ac91465
Refactor
mbloch Dec 10, 2023
7152a5a
fix 404 link to moriartynaps blog
wroscoe Dec 11, 2023
aeb6de0
Merge pull request #614 from wroscoe/master
mbloch Dec 11, 2023
fd7c249
v0.6.60
mbloch Dec 26, 2023
6f20d1d
Scalebar updates
mbloch Dec 30, 2023
b8a08d7
Small tweak to the eyeball icon in the GUI layers menu
mbloch Jan 19, 2024
a8094cc
Add fix-geometry option
mbloch Jan 19, 2024
32894fd
v0.6.61
mbloch Jan 19, 2024
9c4e6dd
Merge branch 'master' of github.com:mbloch/mapshaper
mbloch Jan 19, 2024
aa1234d
readme
mbloch Jan 22, 2024
77ebe1e
Add copy option to GUI selection tool
mbloch Jan 26, 2024
b2c4010
Add coords button to GUI selection tool
mbloch Jan 27, 2024
198d754
Add duplicate and coords buttons to interactive selection
mbloch Jan 31, 2024
4e586c4
Add file
mbloch Feb 3, 2024
6c74331
Update -graticule command
mbloch Feb 12, 2024
40f00e0
Run commands can support multiple targets
mbloch Feb 12, 2024
9eaff70
v0.6.62
mbloch Feb 12, 2024
fe9cdc2
Fixes
mbloch Feb 13, 2024
ea1ede5
Support nested if statements
mbloch Feb 13, 2024
097be22
v0.6.63
mbloch Feb 13, 2024
d8abfea
Add target/targets to -if/-elif expressions, similar to -run
mbloch Feb 14, 2024
08c7426
Support preloading .zip files in mapshaper-gui
mbloch Feb 19, 2024
12d1599
Fix scalebar length for CRS in units of feet
mbloch Feb 20, 2024
3c7c161
Add a second scalebar style, add cmd help for -scalebar command
mbloch Feb 20, 2024
73aa424
v0.6.64
mbloch Feb 20, 2024
0b9cc96
Added interactive resizing for rectangles
mbloch Feb 21, 2024
19c6eac
Add undo/redo to new rectangle resize tool
mbloch Feb 21, 2024
b316481
Refactor
mbloch Feb 26, 2024
de24770
Add -o fit-exten= option
mbloch Feb 26, 2024
fb02b51
Improve SVG styled output
mbloch Feb 26, 2024
db22b1b
Added "Add empty layer" button to layer menu
mbloch Feb 26, 2024
9f4e478
Added "add points" editing mode
mbloch Feb 26, 2024
cc870c5
Add points tool adds a black dot on styled layers
mbloch Feb 28, 2024
91c17df
Fix runtime error
mbloch Feb 28, 2024
accdea5
-rectangle refactoring
mbloch Mar 1, 2024
2506da4
Add multi-feature data editing to selection tool
mbloch Mar 1, 2024
67c0a4f
refactor
mbloch Mar 1, 2024
f6e5633
Bug fix
mbloch Mar 1, 2024
8c6d7ea
Add center handle to draggable box
mbloch Mar 1, 2024
ec468ba
v0.6.66
mbloch Mar 1, 2024
869de12
changelog
mbloch Mar 1, 2024
bce2953
Draggable box tool stays centered when shift key is pressed
mbloch Mar 1, 2024
f4c94d6
A frame layer sets extent of SVG and makes symbols scale in gui
mbloch Mar 2, 2024
72b7356
Allow hiding of the selected layer
mbloch Mar 2, 2024
65c309f
Fix box dragging glitch
mbloch Mar 2, 2024
deaf754
v0.6.67
mbloch Mar 3, 2024
7eed167
Add this.bbox to expression context, to supercede this.bounds
mbloch Mar 7, 2024
acbac8b
Support for dual-units scalebar (style b)
mbloch Mar 7, 2024
5b86c98
shift-drag corner box handle preserves aspect-ratio
mbloch Mar 7, 2024
d7afd0d
map rendering fixes
mbloch Mar 7, 2024
4e1f3ae
v0.6.68
mbloch Mar 7, 2024
7dd13ac
Fix gui styling glitches
mbloch Mar 8, 2024
bf8fb2b
Add better error messages when gui export fails
mbloch Mar 8, 2024
647e257
Fix display of tabular data in gui
mbloch Mar 8, 2024
cac335b
Fix map glitch
mbloch Mar 8, 2024
b270704
Fix label dragging when map is scaled
mbloch Mar 8, 2024
699cdb3
v0.6.69
mbloch Mar 8, 2024
5a48b93
v0.6.69
mbloch Mar 8, 2024
827c000
Fix for bug affecting -polygons and -mosaic
mbloch Mar 9, 2024
090ac40
v0.6.70
mbloch Mar 9, 2024
b77f038
Accept units of cm as map frame width
mbloch Mar 17, 2024
e7eac62
Add Frame button to box tool buttons, for setting map frame
mbloch Mar 17, 2024
bfbbab5
Added "click to edit" link to the data inspection popup
mbloch Mar 17, 2024
c2add97
Add line drawing for polyline layers
mbloch Mar 17, 2024
4bb38be
v0.6.71
mbloch Mar 17, 2024
15cd649
v0.6.72
mbloch Mar 17, 2024
f32d25c
Add polygon drawing and drawing refinements
mbloch Mar 18, 2024
9286027
v0.6.73
mbloch Mar 18, 2024
f78e4ce
v0.6.74
mbloch Mar 19, 2024
72ea9d8
feat: encoding auto detect chinese gb18030
zy6p Mar 19, 2024
29aa225
Improvements to encoding detection
mbloch Mar 20, 2024
e354ea1
Improve support for empty layers
mbloch Mar 20, 2024
dd68539
Merge branch 'master' of github.com:mbloch/mapshaper
mbloch Mar 20, 2024
12a93d1
Improve selectivity of automatic gb18030 detection
mbloch Mar 20, 2024
b226320
Encoding detection tweak
mbloch Mar 20, 2024
07fdfac
Preparation for reworking display layers
mbloch Mar 20, 2024
51fde17
GB18030 auto-detection improvements
mbloch Mar 22, 2024
957d428
Path drawing improvements
mbloch Mar 22, 2024
b75c42e
v0.6.75
mbloch Mar 22, 2024
e8464d0
Drawing refinements
mbloch Mar 22, 2024
7640ae4
Web ui tweaks
mbloch Mar 23, 2024
0227fc9
refactor WIP
mbloch Mar 24, 2024
940a95a
refactor WIP
mbloch Mar 24, 2024
0e8299f
refactor WIP
mbloch Mar 24, 2024
d9f58fe
Better scalebar unit parsing
mbloch Mar 25, 2024
2598542
Revert selection mode changes
mbloch Mar 25, 2024
62a0b32
Highlight labels in label positioning mode
mbloch Mar 25, 2024
6d062f8
Add context menu
mbloch Mar 26, 2024
a2f212e
Fix context menu glitches
mbloch Mar 26, 2024
d861d01
v0.6.76
mbloch Mar 26, 2024
b9b06b1
Context menu refinements
mbloch Mar 27, 2024
ec0b568
UI tweak
mbloch Mar 27, 2024
edae3b2
Add undo to point drawing tool
mbloch Mar 29, 2024
43f4c8f
Fix context menu glitches
mbloch Mar 29, 2024
71558aa
UI updates
mbloch Mar 29, 2024
6c66b08
v0.6.77
mbloch Mar 29, 2024
b9f2942
Fix context menu bug
mbloch Mar 29, 2024
a212f19
More streamlined data editing of no-data layers
mbloch Mar 29, 2024
2c9b901
Merge add-points and drag-points tools
mbloch Mar 29, 2024
9e91cc2
Fix cursor
mbloch Mar 29, 2024
96d3ac9
Streamline shape drawing on an empty layer
mbloch Mar 29, 2024
bbfef8f
Fix point dragging bug
mbloch Mar 29, 2024
f444aa3
v0.6.78
mbloch Mar 29, 2024
e6f3d85
Interface tweak
mbloch Mar 29, 2024
24515a2
Added point deletion to point editing context menu
mbloch Mar 30, 2024
16265d5
v0.6.79
mbloch Mar 30, 2024
806c7c5
Tweak encoding auto-detection message
mbloch Mar 30, 2024
4d68ff8
Context menu tweaks
mbloch Mar 30, 2024
00cfd78
Fix fp rounding error bug
mbloch Mar 31, 2024
6e3ddf9
Fix map display bug
mbloch Mar 31, 2024
e5bc531
Improve dot scaling in the web UI
mbloch Apr 1, 2024
d949210
Add pencil-style drawing
mbloch Apr 1, 2024
f0f9b9f
v0.6.80
mbloch Apr 1, 2024
eaf2796
Stop rounding coords from rectangle tool
mbloch Apr 2, 2024
35d73ff
More precise path drawing tolerance
mbloch Apr 2, 2024
f2058de
Remove bottom-left coordinates display
mbloch Apr 2, 2024
d7d7fda
Add feature deletion from context menu
mbloch Apr 2, 2024
a7ddb31
Drawing refinements
mbloch Apr 2, 2024
2d8b3d8
v0.6.81
mbloch Apr 2, 2024
5bbcf54
Streamlined drawing: no longer needs Cmd/Alt key
mbloch Apr 3, 2024
3d6f314
Add geos projection
mbloch Apr 3, 2024
67e15c4
Add box tool to no-data arrow menu
mbloch Apr 3, 2024
9123f22
[web] interface tweaks
mbloch Apr 3, 2024
ae0b2c7
v0.6.82
mbloch Apr 3, 2024
4eef223
v0.6.82
mbloch Apr 3, 2024
cc3f21c
[web] Fix for rectangle bug
mbloch Apr 4, 2024
66cf85f
Improvements to path drawing
mbloch Apr 4, 2024
54e538e
Add shortcut buttons for toggling basemaps
mbloch Apr 4, 2024
84f2f8d
v0.6.83
mbloch Apr 4, 2024
8a092af
v0.6.84
mbloch Apr 4, 2024
1b6f5bd
v0.6.85
mbloch Apr 4, 2024
78afba1
Update command reference
mbloch Apr 4, 2024
c15570a
Fix typo in error message
mbloch Apr 4, 2024
5968675
Tweak basemap controls
mbloch Apr 4, 2024
c2f9a7f
Bug fixes
mbloch Apr 5, 2024
d63304d
v0.6.86
mbloch Apr 5, 2024
5d4e8c3
Bug fixes
mbloch Apr 5, 2024
970208b
v0.6.87
mbloch Apr 5, 2024
f673b3d
Fix rendering bug
mbloch Apr 9, 2024
482386f
Improve context menu coordinates display
mbloch Apr 9, 2024
348126a
Fix spacebar-drag panning action
mbloch Apr 10, 2024
6cc43f0
Fix shift-snapping when drawing paths
mbloch Apr 10, 2024
e9e25bf
v0.6.88
mbloch Apr 10, 2024
9c8caf9
Improve console and edit tool interactions
mbloch Apr 10, 2024
f234cd1
Update context menu appearance
mbloch Apr 10, 2024
87ef512
[web] Fix for error inspecting tabular data
mbloch Apr 12, 2024
c0868fd
v0.6.89
mbloch Apr 13, 2024
c70c086
Support writing files up to 4gb
mbloch Apr 16, 2024
561ec9c
v0.6.90
mbloch Apr 16, 2024
31df2f2
v0.6.91
mbloch Apr 17, 2024
9b8a02c
Add another DMS format
mbloch May 6, 2024
dde1c99
Handle corrupted arcs when unpacking a snapshot
mbloch May 7, 2024
99a731f
v0.6.92
mbloch May 7, 2024
33cc3e9
v0.6.92
mbloch May 7, 2024
2baf34d
v0.6.93
mbloch May 8, 2024
0ffddf7
Improvements to GeoJSON parsing
mbloch May 15, 2024
aab7db7
Fixes for snapshot reading bugs
mbloch May 15, 2024
2d6a8be
v0.6.94
mbloch May 15, 2024
9edbada
GeoJSON parsing refactor
mbloch May 16, 2024
5800657
Fix an interface bug
mbloch May 17, 2024
aca73be
Add instructions for the rectangle tool
mbloch May 17, 2024
663291e
Show default context menu when both ctrl and alt/option are pressed
mbloch May 17, 2024
e3ede82
v0.6.95
mbloch May 17, 2024
e83e30f
v0.6.96
mbloch May 18, 2024
9f9f4eb
Prompt to reproject imported files
mbloch Jun 5, 2024
999d836
Prevent default SVG black fill on unstyled rectangle layers
mbloch Jun 5, 2024
2da18a3
v0.6.97
mbloch Jun 5, 2024
b9fccf5
v0.6.98
mbloch Jun 16, 2024
a917e97
Fix initial layer pinning
mbloch Aug 16, 2024
5ecd351
Fix intersection points, etc
mbloch Aug 16, 2024
da7caae
Remove test
mbloch Aug 16, 2024
9be6b9a
Clean up includes
mbloch Aug 16, 2024
f94afd1
Better -each expression geojson support
mbloch Aug 16, 2024
dca4d40
v0.6.99
mbloch Aug 16, 2024
8ba4c46
Document and improve -frame command
mbloch Oct 7, 2024
43aa5f4
Warn about unterminated -if commands
mbloch Oct 7, 2024
2c35ceb
Bugfix for -o fit-bbox= option
mbloch Oct 7, 2024
1f6aded
Implement -o no-null-props flag for GeoJSON output
mbloch Oct 7, 2024
5b0e185
Allow sub-pixel fill effect styles (e.g. hatches)
mbloch Oct 7, 2024
b123946
v0.6.100
mbloch Oct 7, 2024
349bd25
Update REFERENCE.md
mbloch Oct 7, 2024
93ce38a
Improve arrow symbols
mbloch Oct 15, 2024
5941f69
Add -affine fit-bbox= option
mbloch Oct 15, 2024
c189361
v0.6.101
mbloch Oct 15, 2024
c3640a7
refactoring"
mbloch Nov 19, 2024
fbceb42
v0.6.102
mbloch Nov 19, 2024
3410471
Update LICENSE, fix license year
JasonnnW3000 Jan 1, 2025
e9e138e
Merge pull request #667 from JasonnnW3000/master
mbloch Jan 1, 2025
4bda8a0
Performance optimizations
mbloch Mar 6, 2025
8a3622f
Improvements to layer rendering esp colored dots
mbloch Mar 6, 2025
878c5e5
Improve snapshot support in Firefox and Safari
mbloch Mar 10, 2025
381b397
Add -style clear option
mbloch Mar 17, 2025
dffce8d
Fix point deletion bug
mbloch Apr 29, 2025
6bef122
Fix line drawing display bug
mbloch Apr 29, 2025
de679d0
gui updates
mbloch Jun 9, 2025
9fed019
show name of random categorical scheme
mbloch Jun 9, 2025
39b6165
Added options to polygon-polygon join
mbloch Jun 12, 2025
598b617
Support categorical data fields in -join interpolate=
mbloch Jun 12, 2025
48e0ed4
Fix label updating bug
mbloch Jun 26, 2025
5f383ec
Remove browserify dependency
mbloch Jun 26, 2025
3f56826
v0.6.103
mbloch Jun 26, 2025
1423f63
Merge branch 'master' of github.com:mbloch/mapshaper
mbloch Jun 26, 2025
d76ca91
Add -style clear to the CLI parser
mbloch Jun 26, 2025
3d1eeb1
v0.6.103
mbloch Jun 26, 2025
c6fc872
Add node polyfills to browser bundle
mbloch Jun 26, 2025
4632aa9
v0.6.104
mbloch Jun 26, 2025
c282250
Update basemap api keys
mbloch Jun 28, 2025
3a01aa0
v0.6.105
mbloch Jun 28, 2025
142e7d0
Wrap paths with quotes during exec
ChlodAlejandro Jun 30, 2025
168f186
Fix for reported problem running build on linux
mbloch Jul 1, 2025
aa69aa5
Improve hover and selection styles
mbloch Jul 1, 2025
c6f9197
v0.6.106
mbloch Jul 1, 2025
7750da6
v0.6.106
mbloch Jul 1, 2025
e3a7989
Merge pull request #678 from ChlodAlejandro/master
mbloch Jul 1, 2025
ce66158
readme
mbloch Jul 26, 2025
158f335
Fix performance edge case
mbloch Jul 26, 2025
4773868
Convert Basemap menu to Display menu
mbloch Jul 26, 2025
062cebb
v0.6.107
mbloch Jul 26, 2025
dadb2ed
Merge branch 'master' of github.com:mbloch/mapshaper
mbloch Jul 26, 2025
bc1c14e
v0.6.108
mbloch Jul 27, 2025
06ae121
v0.6.109
mbloch Jul 31, 2025
e268e89
v0.6.109
mbloch Jul 31, 2025
f84010f
Switch to variable font
mbloch Aug 1, 2025
991b7e7
index.html
mbloch Aug 1, 2025
26f2c29
Fix HTML validation errors and warnings
mbloch Aug 5, 2025
5001e6a
User-settable SVG coordinate precision
mbloch Aug 5, 2025
9d9fbf2
GUI projection tool WIP
mbloch Aug 5, 2025
c9c4370
Change mapshaper-gui options, old -q is now default
mbloch Aug 13, 2025
319acc3
Minor changes in zoomed-in display
mbloch Aug 13, 2025
216bd51
wip for line snip tool
mbloch Aug 13, 2025
6236194
Improvements to geometry calculations - increased robustness
mbloch Aug 13, 2025
551e444
Add keep-shapes option to -filter-slivers
mbloch Aug 13, 2025
62e3a81
v0.6.110
mbloch Aug 13, 2025
41a6dd3
minor GUI improvements
mbloch Aug 19, 2025
79dbf56
Switch to better-performing robust segment geometry
mbloch Aug 19, 2025
747a32e
v0.6.111
mbloch Aug 19, 2025
7a5e3e6
Add clean tests
mbloch Aug 20, 2025
00eb65b
[web] support dragging and pasting data file urls
mbloch Sep 1, 2025
729ebf9
Add -o show-all option for snapshots
mbloch Sep 2, 2025
80a3d69
Fix a cli command parsing bug
mbloch Sep 3, 2025
18b2a87
Support assigning to target.geojson in template expressions
mbloch Sep 12, 2025
820e527
Show eye icon in gui layer menu with single layer
mbloch Sep 12, 2025
336588d
buffer wip
mbloch Sep 12, 2025
bbbf9e6
v0.6.112
mbloch Sep 12, 2025
99199c6
Improve importing files from pasted HTML
mbloch Sep 14, 2025
346268b
Add custom basemaps to web UI
mbloch Sep 30, 2025
1f42c7f
v0.6.113
mbloch Sep 30, 2025
e053d55
v0.6.113
mbloch Sep 30, 2025
2177a7d
Support remote ES modules in require command
Dec 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
248 changes: 248 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,251 @@
v0.6.113
* Support for adding Mapbox vector tile and raster tile basemaps.

v0.6.112
* Support for drag-dropping or pasting datafile hyperlinks from a web page onto the web UI.
* Added -o show-all option for exporting snapshots from the CLI with all layers visible in GUI.

v0.6.111
* Switched to better-performing robust segment geometry functions using BigInt (instead of big.js).

v0.6.110
* Switched to arbitrary-precision math to improve reliability of -clean, -dissolve2 and several other commands.
* Added keep-shapes option to -filter-slivers to retain one ring in multipart polygon features that would otherwise be removed completely.
* Removed the -q/--quick-view option from mapshaper-gui. Now, "quick view" (skipping the import prompt) is the default.
* Added -i/--import-prompt option to mapshaper-gui, to display the import prompt if desired.
* Now, SVG coordinate precision is settable using the -o precision= option (previously SVG precision was always two decimals).

v0.6.109
* Fixed a geometry error

v0.6.108
* [web] Fix for coordinate precision of drawn rectangles

v0.6.107
* [web] Added Display menu to configure basemaps and several other settings.

v0.6.106
* Bug fixes

v0.6.105
* Updated basemap api keys

v0.6.104
* Updated rollup

v0.6.103
* Added -join min-overlap-pct= and min-overlap-area= options for polygon-polygon joins.
* Added support for interpolating categorical data fields using `join interpolate=`.
* Switched from browserify to rollup for bundling Node.js libraries for the web UI.

v0.6.102
* Added Nicolosi Globular (nicol) projection.

v0.6.101
* Added -affine fit-bbox= option, for transforming data to fit within a bounding box.
* Improved arrow symbols.

v0.6.100
* Added -frame command, for creating a rectangular map frame layer with a defined display size. Used to set SVG output size and on-screen symbol scale.
* Added -o no-null-props option, which uses "properties":{} instead of "properties":null when outputting GeoJSON features with no attribute data.
* Added support for sub-pixel sizes of pattern fills like hatches and dots (see the -style fill-effect= option).
* Bug fixes

v0.6.99
* Bug fixes

v0.6.98
* Added remove-empty flag for -filter-slivers command.

v0.6.97
* [web] Prompt user to project imported files to match selected layer, when relevant.
* [svg] Add fill="none" to unstyled rectangle layers, to prevent map frame rectangles from displaying with SVG default black polygon fill.

v0.6.96
* Bug fix

v0.6.95
* Rename "shift/drag box tool" to "rectangle tool" and show instructions when first turned on.
* Bug fixes

v0.6.94
* Bug fixes

v0.6.93
* Bug fix

v0.6.92
* Bug fix

v0.6.91
* Bug fix

v0.6.90
* [cli] Support for writing files up to 4gb on most computers (2gb was the previous limit).

v0.6.89
* Bug fixes

v0.6.88
* Bug fixes

v0.6.87
* Bug fixes

v0.6.86
* Bug fixes

v0.6.85
* Added -rectangles bbox=<expression> option, which uses an expression to generate rectangle coords for each feature.

v0.6.84
* Catch a polygon drawing error.

v0.6.83
* Added basemap buttons to the map.

v0.6.82
* Added geos (Geostationary Satellite View) projection.

v0.6.81
* [web] Add feature deletion to the context menu.
* [web] Automatically close polygons when using Alt/Cmd-drag to draw paths.

v0.6.80
* [web] Added pencil-style path drawing using Alt-drag or Cmd-drag.

v0.6.79
* [web] Added "delete point" to the point editing context menu.

v0.6.78
* [web] Combined "drag points" and "add points" tools into a single "add/edit points" tool.
* [web] Enable point and path drawing when no layers have been added.

v0.6.77
* [web] Updated import interface.
* [web] Users can turn on the basemap, use the console and more without first importing a file.
* [web] Added undo to "add points" tool.

v0.6.76
* [web] Added right-click/ctrl-click context menu.

v0.6.75
* Added auto-detection of GB18030 text encoding (used in some Chinese language Shapefiles).
* Improvements to polygon drawing.

v0.6.74
* Bug fixes

v0.6.73
* Added drawing/reshaping to polygon layer editing menu.
* Added info box with drawing instructions.

v0.6.72
* Bug fix

v0.6.71
* [web] Added a new edit mode for polyline layers: line drawing combined with line reshaping (by adding and dragging vertices), removed the old "edit vertices" menu item.
* [web] Added attribute editing to the inspection control, removed the "edit attributes" menu item.
* [web] Added a new button ("Frame") to the box tool buttons, which creates a rectangular map frame.

v0.6.70
* Fix for bug affecting -mosaic and -polygon commands (they incorrectly incorporated paths from other layers).

v0.6.69
* Web UI bug fixes

v0.6.68
* [scalebar] giving a pair of distances creates a dual-unit scale bar (style b only).
* [web] minor bug fixes and improvements.

v0.6.67
* -rectangle command with width=<size> option creates a "frame" layer to use as the extent of an SVG map by setting the size of the SVG viewport (an alternative to using -o fit-extent=<size> option).
* [web] Map symbols scale as the map zooms when a frame layer is visible.
* [web] Draggable box tool resizes symmetrically with the shift key pressed.
* [web] Allow selected layer to be temporarily hidden (via layers menu).

v0.6.66
* [web] Added ability to edit attribute data of multiple selected features ("select features" tool).
* [web] Added interactive tool for adding points to point-type layer by clicking on the map.
* [web] Added "Add empty layer" button to the layers menu.
* [web] Added center handle for dragging the interactive box tool.
* Added -o fit-extent= option, to use a layer extent (typically a layer containing a single rectangle) for setting the extent of SVG output.

v0.6.65
* Added "drag-to-resize" editing mode for resizing rectangles interactively.

v0.6.64
* Added more options for the -scalebar command, including two styles, a and b.

v0.6.63
* Add support for nested -if/-elif/-else/-endif commands.

v0.6.62
* Removed restrictions on the allowable size of the graticule interval (in degrees).
* Added `targets` object to the `-run` command expression context, giving access to multiple target layers.

v0.6.61
* Introduced the `fix-geometry` option to the `-snap` and `-o` commands, for removing segment intersections caused by coordinate rounding and TopoJSON quantization.

v0.6.60
* Officially added the previously undocumented -scalebar command.

v0.6.59
* Second attempted fix for -require error on Windows.

v0.6.58
* Fix for -require error on Windows.

v0.6.57
* Added io.ifile() method for creating dynamic input files in the run command

v0.6.56
* Added support for importing ES modules using the -require command.
* Removed the -require init= function.

v0.6.55
* Improvements to the web UI intersections tool.

v0.6.54
* Only check for line self-intersections in web UI if user clicks the "Check line intersections" label.
* Added support for curly-bracket delimited expressions to -run command strings.

v0.6.53
* Added -classify outer-breaks=<min,max> option, for limiting the effective data range when calculating equal-interval breaks and continuous color ramps.

v0.6.52
* Added -calc + option, which saves calc output to a new layer.
* Added -info + option, which saves info output to a new layer.

v0.6.51
* Improved support for running applyCommands() api function in a web browser.

v0.6.50
* Fix for label dragging bug.

v0.6.49
* Fix for issue #610 (geojson getters in -run and -each should return polygons with RFC 7946 winding order).
* -join interpolate now works correctly when the source layer contains overlapping polygons.

v0.6.48
* Added `target.geojson` getter that returns the contents of the target layer as a GeoJSON `FeatureCollection`. Useful in the `-run` command for passing layer data to an external script.

v0.6.47
* Added support for using JSON data as an argument to the -i command.
* Added an `io` object with an `io.addInputFile()` method to the `-run` command's expression context, to support loading dynamically generated datasets.

v0.6.46
* Added save to clipboard option to web UI export menu.
* In -each expressions, `this.geojson` setter now accepts nulls and FeatureCollections in addition to single Features.

v0.6.45
* Added -o hoist=<fields> option for moving GeoJSON Feature properties to the root of each Feature.
* Simplification data is removed from snapshot files (except for temporary snapshots in the web UI).

v0.6.44
* Added -style css= option for adding inline CSS to SVG symbols.
* Bug fixes

v0.6.43
* Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013, Matthew Bloch
Copyright (c) 2025, Matthew Bloch

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The web UI works in recent desktop versions of Chrome, Firefox, Safari and Inter

[Here](https://hub.docker.com/r/freifunkhamm/mapshaper) are resources for using mapshaper with Docker, provided by Christian Weiss.

You can find a number of mapshaper tutorials online, including a [two](https://moriartynaps.org/command-carto-part-one/) [part](https://moriartynaps.org/command-carto-part-two/) guide to command line cartography by Dylan Moriarty and [this introduction](https://handsondataviz.org/mapshaper.html) by Jack Dougherty.
You can find a number of mapshaper tutorials online, including a [two](https://moriartynaps.org/command-carto-part-one/) [part](https://moriartynaps.org/command-line-carto-two/) guide to command line cartography by Dylan Moriarty and [this introduction](https://handsondataviz.org/mapshaper.html) by Jack Dougherty.


## Large file support
Expand Down Expand Up @@ -80,6 +80,14 @@ npm run build # bundle source code files
npm link # (optional) add global symlinks so scripts are available systemwide
```

## Using mapshaper with Bun

Mapshaper's command line tools can be run with [Bun](https://bun.sh/) as an alternative to Node.js. The simplest option is to use `bunx`, like this:

```
bunx mapshaper [commands]
```

## Building and testing

From the project directory, run `npm run build` to build both the cli and web UI modules.
Expand Down
Loading