osm2vectortiles/src/changed-tiles
lukasmartinelli 5989b981b0 Switch back to common go version 2016-06-22 22:40:10 +02:00
..
.editorconfig Reworked detect-dirty tiles to use changed_tiles_{layer} function 2016-03-11 17:51:45 +01:00
Dockerfile Switch back to common go version 2016-06-22 22:40:10 +02:00
README.md Add component description for changed-tiles 2016-04-28 17:38:33 +02:00
export-changed-tiles.sh Switch to pgclimb instead for dirty tiles export 2016-03-11 19:50:39 +01:00

README.md

changed-tiles

The changed-tiles component is responsible for executing the changed tiles SQL logic and store the list of changed tiles in a text file using pgclimb.

The actual logic for detecting the changed tiles is in the import-sql component.

Usage

Docker

After you have imported OSM data into postgis you can run changed-tiles. If you run it on a fresh import you will get all tiles as changed tiles. You need to run import-osm-diff first to get real changed tiles.

changed-tiles will store the list of changed tiles in ./export/tiles.txt.

docker-compose run changed-tiles