some improvements mvt timeout error script

This commit is contained in:
Simon Martín 2017-11-07 11:06:53 +01:00
parent ac153232d0
commit 33fbff5011
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -15,7 +15,7 @@ tile = mapbox_vector_tile.encode([
}] }]
}, },
{ {
"name": "air", "name": "errorTileStripesLayer",
"features": [{ "features": [{
"geometry":"LINESTRING(159 3877, -1570 3877)", "geometry":"LINESTRING(159 3877, -1570 3877)",
"properties":{ "properties":{
@ -27,5 +27,5 @@ tile = mapbox_vector_tile.encode([
} }
]) ])
with open('./assets/render-timeout-fallback.mvt', 'w+') as f: with open('./assets/render-timeout-fallback.mvt', 'w') as f:
f.write(repr(tile)) f.write(tile)