v1.8.0
The command line tool got a complete overhaul. It now works with GeoJSONs and vector tiles and got many new options.
Note: Some commands might behave differently now, please check your scripts.
dump
: Pretty-prints any GeoJSON or vector tile to the consoleinfo
: Print some information about GeoJSONs or vector tiles like Feature counts and propertiesquery
: Query feature properties or perform a search around a coordinatemerge
: Merge any number of GeoJSONs or vector tiles into a GeoJSON or vector tileimport
: Import GeoJSONs into a vector tileexport
: Export a vector tile as GeoJSON
GeoJSONs can contain a layer name in their Feature properties (default name is vt_layer
), and any resulting GeoJSON will automatically include this property.
This can be controlled with the options --property-name
(or -P
), --disable-input-layer-property
(or -Di
) and --disable-output-layer-property
(or -Do
).
Some commands allow limiting the result to certain layers with --layer
(or -l
), which can be repeated for as many layers as necessary.