Skip to content

v1.8.0

Compare
Choose a tag to compare
@trasch trasch released this 26 Aug 10:58
· 9 commits to main since this release
a6415a3

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 console
  • info: Print some information about GeoJSONs or vector tiles like Feature counts and properties
  • query: Query feature properties or perform a search around a coordinate
  • merge: Merge any number of GeoJSONs or vector tiles into a GeoJSON or vector tile
  • import: Import GeoJSONs into a vector tile
  • export: 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.