Skip to content

Latest commit

 

History

History
72 lines (42 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

72 lines (42 loc) · 1.99 KB

2.0.1

  • Only log progess to stderr if isTTY

2.0.0

** Multiple breaking changes to the CLI arguments **

  • Migrate to a JS module
  • --precision option renamed to --polylabel-precision
  • New --coordinate-precision option
  • --label option renamed to --method
  • --style option renamed to --collections
  • --ndjson option renamed to --input-format and --output-format
  • New --method options center, center-mean, center-median, point-in-polygon.

1.5.0

  • Add --include-bbox option to add a bounding box of the source feature as a _bbox property on the label. (h/t stevage)

1.4.1

  • Include id from input GeoJSON Features in output.

1.4.0

  • Add --ndjson option to support ndjson input.

1.3.1

  • Fixed option for --style=largest

1.3.0

  • Replace mapnik-stream with geojson-stream

1.2.1

  • Fix --include-minzoom usage, either provide a min-max value or omit it.

1.2.0

  • Add --include-minzoom option to add a tippecanoe minzoom per label
  • Add --style option for treating GeometryCollections or MultiPolygon geometries
  • Remove support for --by-feature, replaced by --style.

1.1.0

  • Add --by-feature flag to only label the largest part in a MultiPolygon feature #2
  • 'use strict' for compatibility with older versions of node

1.0.4

  • Fixes to usage and add --help

1.0.3

  • Revert undeclared breaking change in units of _area.

1.0.2

  • Stream geojson features to process larger input files. As a result of this input features geojson is no longer read from stdin but instead a file.
  • Add an --include-area flag to control the creation of the _area property.
  • Add support for other label placement algorithms. Options are now pole of inaccessibility, centroid or center of mass.

1.0.1

  • Use a polylabel precision more appropriate for geojson usually in geographic coordinates

1.0.0

  • Initial release