Skip to content

Releases: mbloch/mapshaper

v0.2.17

20 Feb 22:11
Compare
Choose a tag to compare
  • Fix an incompatibility with Node 0.12.

v0.2.16

14 Feb 21:07
Compare
Choose a tag to compare
  • Support for importing GeoJSON Features that contain GeometryCollections.
  • Fix for issue #68: error clipping some shapes that abut a clip polygon.
  • Skip fields with unsupported types when importing .dbf files (instead of throwing exception).
  • Support for Node 0.12.x

v0.2.15

26 Jan 22:19
Compare
Choose a tag to compare
  • Fixed bug affecting -join command
  • Rename data fields to avoid name collisions

v0.2.14

26 Nov 17:31
Compare
Choose a tag to compare
  • Add wildcard expansion for input filenames (to support filename expansion in the Windows command line).
  • Speed up identification of interior points (-points inner command).
  • Improve command line help.

v0.2.13

17 Nov 20:45
Compare
Choose a tag to compare
  • Add -calc command for calculating simple statistics about a data layer using a JS expression. Functions include sum() median() average() min() max() count().
  • Add function for finding interior points of polygon features, for anchoring symbols and labels.
  • Add inner and centroid options to the -points command -- for creating a layer of centroids or interior points from a polygon layer
  • Add -sort command for sorting the features in a layer
  • -o id-field= now supports a comma-sep. list of field names -- useful for assigning ids to multiple TopoJSON objects with different data properties.

v0.2.12

14 Nov 05:09
Compare
Choose a tag to compare
  • Add -filter-islands command with min-area, min-vertices and remove-empty options.
  • Add -points command with x and y options, for creating a point layer from x, y coordinates in an attribute table.
  • Add -o prettify option to generate human-readable GeoJSON and TopoJSON.
  • mapshaper.applyCommands() now returns an array only if output includes more than one JSON object.
  • Bug fixes

v0.2.11

26 Oct 05:17
Compare
Choose a tag to compare
  • Halt when -merge-layers fails
  • Print a warning if -innerlines output is null
  • Apply snapping after multiple import files are merged/combined
  • Let users apply arbitrarily large snap intervals instead of capping at avg. segment length
  • Use APIError type for invalid API function call parameters
  • Switch from async csv parsing using node-csv to synchronous parsing using d3.dsv
  • Merge mapshaper.runCommandString() into mapshaper.runCommands()
  • Add mapshaper.applyCommands() to tranform Geo/TopoJSON programmatically.

v0.2.10

20 Oct 19:27
Compare
Choose a tag to compare
  • Bug fix for TopoJSON vertex thresholds generated by -o presimplify

v0.2.9

26 Oct 05:19
Compare
Choose a tag to compare
  • Accept point and polyline type layers as targets of -clip and -erase commands
  • -o presimplify option adds simplification thresholds to TopoJSON arc vertices.
  • Bug fixes

v0.2.8

26 Oct 05:19
Compare
Choose a tag to compare
  • Add -rename-layers <name(s)> for renaming one or more target layers