Home

Awesome

geojson-polygon-labels

Command line tool to generate point labels from GeoJSON polygons.

Features include:

Install

npm install --global geojson-polygon-labels

Command Line

geojson-polygon-labels [--polylabel-precision=0.001] [--coordinate-precision=5] [--include-area] [--include-bbox] [--method=polylabel] [--collections=explode] [--include-minzoom=0-16] [--verbose] layer.geojson > labels.geojson