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": [{
"geometry":"LINESTRING(159 3877, -1570 3877)",
"properties":{
@ -27,5 +27,5 @@ tile = mapbox_vector_tile.encode([
}
])
with open('./assets/render-timeout-fallback.mvt', 'w+') as f:
f.write(repr(tile))
with open('./assets/render-timeout-fallback.mvt', 'w') as f:
f.write(tile)