kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
Fix issue with world job still being rendered
rodzic
6bfb975afd
commit
246f85855f
|
@ -106,7 +106,7 @@ export-worker:
|
|||
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
|
||||
AWS_S3_HOST: "${AWS_S3_HOST}"
|
||||
BUCKET_NAME: "osm2vectortiles-testing"
|
||||
RENDER_TIMEOUT: "1200"
|
||||
RENDER_TIMEOUT: "300"
|
||||
export:
|
||||
image: "osm2vectortiles/export"
|
||||
command: ./export-local.sh
|
||||
|
|
|
@ -110,8 +110,6 @@ def pyramid_jobs(x, y, z, job_zoom, max_zoom):
|
|||
yield create_pyramid_job(tile.x, tile.y, min_zoom=tile.z,
|
||||
max_zoom=max_zoom, bounds=bounds)
|
||||
|
||||
bounds = mercantile.bounds(0 , 0 , 0)
|
||||
yield create_pyramid_job(0, 0, min_zoom=0, max_zoom=job_zoom-1, bounds=bounds)
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = docopt(__doc__, version='0.1')
|
||||
|
|
|
@ -17,7 +17,7 @@ function generate_world_jobs() {
|
|||
|
||||
python generate_jobs.py pyramid "$TILE_X" "$TILE_Y" "$TILE_Z" --job-zoom="$JOB_ZOOM" > $jobs_file
|
||||
|
||||
if [ "$WORLD_JOB" = true ] ; then
|
||||
if [ "$WORLD_JOB" == "true" ] ; then
|
||||
python generate_jobs.py pyramid "0" "0" "0" --job-zoom="0" --max-zoom="$((JOB_ZOOM-1))" >> $jobs_file
|
||||
fi
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue