Skip to content

Releases: mbloch/mapshaper

v0.3.18

29 Mar 21:52
Compare
Choose a tag to compare
  • Basic support for exporting to SVG.
  • Added command line option -o format=svg. Saving to a file with ".svg" extension also works.
  • Added SVG-specific options width= and margin= to the output command to override the default values.
  • Added support for importing and exporting NULL type Shapefiles
  • Bug fixes

v0.3.17

15 Mar 07:06
Compare
Choose a tag to compare
  • Added unjoined and unmatched options to the -join command, for inspecting unjoined records from the source and destination tables.
  • Added a constraint to Visvalingam simplification to remove an ambiguity in the order of vertex removal when several vertices have the same effective area.
  • Added cleanup option to -clip and -erase commands, which removes slivers created by clipping (before, slivers were removed by default).
  • Rename cartesian option of -simplify to planar.

v0.3.16

29 Feb 06:23
Compare
Choose a tag to compare
  • -dissolve now supports point layers. Dissolve reduces a group of point features to a single point at the centroid of the group.
  • -dissolve weight= option takes a data field or JS expression and uses this value to weight each point when calculating the centroid of a group of points.
  • -filter-fields no longer supports field renaming. Use -rename-fields instead.
  • -info and -filter-fields commands can be applied to much larger DBF files without triggering out-of-memory errors.

v0.3.15

16 Feb 19:53
Compare
Choose a tag to compare
  • For the web, separate geoprocessing library and Web UI into two files (mapshaper.js and mapshaper-gui.js)
  • Improve detection of invalid DBF files.
  • Bug fixes.

v0.3.14

04 Feb 19:14
Compare
Choose a tag to compare
  • -innerlines command creates fewer line features.
  • Bug fixes.

v0.3.13

11 Jan 10:12
Compare
Choose a tag to compare
  • Adds support for -o format=json, which exports an array of JSON records containing attribute data for each feature. Arrays of JSON records can also be imported.
  • Adds support for the output command (-o) to the Web UI console.
  • Bug fixes.

v0.3.12

08 Dec 21:56
Compare
Choose a tag to compare
  • Adds -simplify stats option, which displays summary statistics relating to the geometry of simplified paths.
  • Adds -simplification weighting= option, for setting the weight parameter in weighted Visvalingam simplification.
  • Adds densify option to the (still undocumented) -proj command.
  • Automatically filter slivers after a clip or erase operation.
  • Adds (undocumented) -filter-slivers command.

v0.3.11

30 Oct 18:41
Compare
Choose a tag to compare
  • Adds -simplify resolution= option, to apply an appropriate amount of simplification for a given display resolution. Example: -simplify resolution=8000x6000.
  • Adds $.x and $.y getters for retrieving x- and y-coordinates of point features from within an -each or -filter expression.

v0.3.10

14 Oct 11:28
Compare
Choose a tag to compare
  • Adds planar option to simplification menu, if dataset contains lat-long coordinates.
  • Bug fixes

v0.3.9

03 Sep 13:07
Compare
Choose a tag to compare
  • Changed web ui layout so popup attribute inspector appears more stable when resizing.
  • Much faster screen rendering of layers containing many small paths.