diff --git a/CHANGELOG.md b/CHANGELOG.md index b7c1b1c4..7fc9df93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +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 "drag-to-resize" tool for resizing rectangular polygons interactively. +* [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. diff --git a/REFERENCE.md b/REFERENCE.md index 3217ba23..db4fa166 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -1,6 +1,6 @@ # COMMAND REFERENCE -This documentation applies to version 0.6.64 of mapshaper's command line program. Run `mapshaper -v` to check your version. For an introduction to the command line tool, read [this page](https://github.com/mbloch/mapshaper/wiki/Introduction-to-the-Command-Line-Tool) first. +This documentation applies to version 0.6.66 of mapshaper's command line program. Run `mapshaper -v` to check your version. For an introduction to the command line tool, read [this page](https://github.com/mbloch/mapshaper/wiki/Introduction-to-the-Command-Line-Tool) first. ## Command line syntax @@ -264,6 +264,8 @@ Save content of the target layer(s) to a file or files. `svg-bbox=` (SVG) Bounding box of SVG map in projected map units. By default, the extent of SVG output fits the content; this option lets you provide a custom extent. This could be useful when aligning the SVG output with other content layers, such as images or videos. +`fit-extent=` (SVG) Use a layer (typically a layer containing a single rectangle) to set the extent of the map. Paths that overflow this extent are retained in the SVG output. + `point-symbol=square` (SVG) Use squares instead of circles to symbolize point data. `delimiter=` (CSV) Set the field delimiter for CSV/delimited text output; e.g. `delimiter=|`. diff --git a/package-lock.json b/package-lock.json index dc7fbee7..a726c1f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mapshaper", - "version": "0.6.65", + "version": "0.6.66", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mapshaper", - "version": "0.6.65", + "version": "0.6.66", "license": "MPL-2.0", "dependencies": { "@placemarkio/tokml": "^0.3.3", diff --git a/package.json b/package.json index e062e410..f34b636c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mapshaper", - "version": "0.6.65", + "version": "0.6.66", "description": "A tool for editing vector datasets for mapping and GIS.", "keywords": [ "shapefile", diff --git a/src/cli/mapshaper-options.mjs b/src/cli/mapshaper-options.mjs index e32455fd..62d860c5 100644 --- a/src/cli/mapshaper-options.mjs +++ b/src/cli/mapshaper-options.mjs @@ -365,7 +365,7 @@ export function getOptionParser() { type: 'bbox' }) .option('fit-extent', { - describe: '[SVG] layer to use for the viewport extent' + describe: '[SVG] layer to use for the map extent' }) .option('point-symbol', { describe: '[SVG] circle or square (default is circle)'