Usage
Features collection tiles
- It adds the tiles and url-tiles to each features in a GeoJSON file.
COMMAND | REQUIRED | DESCRIPTION |
---|---|---|
--geojson_file | yes | Path to GeoJSON file. |
--zoom | yes | Zoom to get the tile. |
--url_map_service | yes | Tile map service url. |
--geojson_output | yes | Original GeoJSON with the attributes: tile, url. |
--chuck | no | Chuck size. Default value: 0. |
--is_super_tile | no | Flag for adding neighbors tiles. Default value: False. |
Return:
GeoJSON file - features have the properties of tile, tile's url and the uuid.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest chips_ahoy \
fctile \
--geojson_file=<INPUT_GEOJSON> \
--zoom=<ZOOM> \
--url_map_service=<URL_MAP_SERVICE> \
--geojson_output=<OUTPUT_GEOJSON> \
--chuck=<CHUCK_SIZE> \
--is_super_tile
Use Case:
- Add property of
uuid
,tile
andurl
to the features.