some improvements mvt timeout error script
This commit is contained in:
parent
ac153232d0
commit
33fbff5011
Binary file not shown.
@ -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)
|
Loading…
Reference in New Issue
Block a user