- Only log progess to stderr if isTTY
** 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
optionscenter
,center-mean
,center-median
,point-in-polygon
.
- Add
--include-bbox
option to add a bounding box of the source feature as a_bbox
property on the label. (h/t stevage)
- Include
id
from input GeoJSON Features in output.
- Add
--ndjson
option to support ndjson input.
- Fixed option for
--style=largest
- Replace mapnik-stream with geojson-stream
- Fix
--include-minzoom
usage, either provide a min-max value or omit it.
- 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
.
- Add
--by-feature
flag to only label the largest part in a MultiPolygon feature #2 - 'use strict' for compatibility with older versions of node
- Fixes to usage and add
--help
- Revert undeclared breaking change in units of
_area
.
- 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.
- Use a polylabel precision more appropriate for geojson usually in geographic coordinates
- Initial release