https://github.com/mapbox/vt2geojson

https://github.com/mapbox/vt2geojson

 

Dump vector tiles to GeoJSON from remote URLs or local system files.

Installation

npm install -g @mapbox/vt2geojson

Usage

CLI

Usage: vt2geojson [options] URI

Options:
  -l, --layer  include only the specified layer
  -x           tile x coordinate (normally inferred from the URI)
  -y           tile y coordinate (normally inferred from the URI)
  -z           tile z coordinate (normally inferred from the URI)
  -h, --help   Show help  [boolean]

Examples:
  vt2geojson --layer state_label https://api.mapbox.com/v4/mapbox.mapbox-streets-v6/9/150/194.vector.pbf?access_token=${MAPBOX_ACCESS_TOKEN}
 
posted @ 2021-02-24 11:29  py2020  阅读(313)  评论(1)    收藏  举报