You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is, that I want to add a Cache-Control HTTP Header in my nginx proxy, because martin currently not yet (#749 ) supports the header. To select the tiles properly, nginx selects (analogous to Apache) the files via file extension (see example).
As GDAL writes in their docs: "typical extensions are .pbf, .mvt, .mvt.gz)" for Vector Tiles. Therefore I would propose to add the file extensions for the individual tiles and change the url in the TileJSON.
My problem is, that I want to add a
Cache-Control
HTTP Header in my nginx proxy, because martin currently not yet (#749 ) supports the header. To select the tiles properly, nginx selects (analogous to Apache) the files via file extension (see example).As GDAL writes in their docs: "typical extensions are .pbf, .mvt, .mvt.gz)" for Vector Tiles. Therefore I would propose to add the file extensions for the individual tiles and change the url in the TileJSON.
Therefore the TileJSON would look like this:
instead of
"https://tileserver.com/streets/{z}/{x}/{y}"
Mapbox specifies in their vector-tile-spec the file extension as
.mvt
.The text was updated successfully, but these errors were encountered: