Skip to content

Commit

Permalink
v0.6.66
Browse files Browse the repository at this point in the history
  • Loading branch information
mbloch committed Mar 1, 2024
1 parent 8c6d7ea commit ec468ba
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 3 additions & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -264,6 +264,8 @@ Save content of the target layer(s) to a file or files.

`svg-bbox=<xmin,ymin,xmax,ymax>` (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=<layer id>` (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=|`.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/mapshaper-options.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down

0 comments on commit ec468ba

Please sign in to comment.