tileserver-gl icon indicating copy to clipboard operation
tileserver-gl copied to clipboard

Not rendering ocean tiles at zoom 10 or higher

Open BHudsonJSI opened this issue 7 years ago • 9 comments

When zooming into a map over an area that is ocean the tiles are white at zoom level 10 and above. This happens for both raster and vector tiles. This behaviour is present in several deployed systems. Issue exists in both osm-bright style and klokantech-basic.

Expected behaviour would be for the tiles to display as blue, the same as they do at lower zoom levels.

Tileserver-gl version: 2.3.1 docker container Map version: osm-2018-06-14-v3.8 Server OS: CentOS 7.5 build 1804

Test by checking the tileserver URL "/styles/osm-bright/?raster#10/26.3857/-40.4290".

Screenshots: zoom9 zoom10

BHudsonJSI avatar Aug 20 '18 18:08 BHudsonJSI

my guess this is related to the "Overzooming support" - https://github.com/klokantech/tileserver-gl/issues/168

ImreSamu avatar Aug 20 '18 18:08 ImreSamu

I noticed bug 168 but it has has no response and is over a year old.

I would not consider this to be 'overzooming', I also do not expect there to be more detail when zoomed. I expect a blue tile.

In the users eyes this behaviour is classified as 'tiles not rendering'.

BHudsonJSI avatar Aug 20 '18 19:08 BHudsonJSI

In the users eyes this behaviour is classified as 'tiles not rendering'.

You can check yourself - the data ( ocean vector tiles ) exists - in the .mbtiles file?

  • ( this is a simple sqllite select )

ImreSamu avatar Aug 20 '18 19:08 ImreSamu

Not simple for me. Can you link me to some info on how to do this? I have no issues running a query, it's constructing the query I am unclear on.

BHudsonJSI avatar Aug 20 '18 19:08 BHudsonJSI

Not simple for me.

it is very complex .. multiple layers of understandings ..

As I see - The better terminology : "maskLevel" or "fillzoom" - support.
( https://github.com/osm2vectortiles/osm2vectortiles/issues/42 )

from the draft tilejson-spec (next) v3.0.0 definition :

## 3.9 `fillzoom`
 An integer specifying the zoom level at which to generate overzoomed tiles from. 
Implementations may generate overzoomed tiles from parent tiles if the requested zoom level 
does not exist. In most cases, overzoomed tiles are generated from the maximum zoom level 
of the set of tiles. If fillzoom is specified, the overzoomed tile is generated from the fillzoom level.

For example, in a set of tiles with maxzoom 10 and _no_ fillzoom specified, 
if a request for a z11 tile comes through, the implementation 
will use the maximum z10 parent tiles to generate the new, overzoomed z11 tile. 
If the same TileJSON object had fillzoom specified at z7, 
a request for a z11 tile would use the z7 tile instead of z10.

https://github.com/mapbox/tilejson-spec/pull/36/files

see more: https://github.com/mapbox/tilelive-vector implementation ( maskLevel , fillzoom )

ImreSamu avatar Aug 20 '18 20:08 ImreSamu

Thanks for the background. As I am not a developer by trade much of it is over my head.

It appears as if I cannot implement a fix for this on my current version, is that right? What is the target release date for 3.0.0?

BHudsonJSI avatar Aug 21 '18 20:08 BHudsonJSI

It appears as if I cannot implement a fix for this on my current version, is that right?

No. :)

ImreSamu avatar Aug 21 '18 21:08 ImreSamu

Anyone know if there are updates on this? My tiles are only available up to zoom level 16.

durkie avatar Mar 05 '20 20:03 durkie

Same happens to me, for a specifica bridge in Brazil. Only renders it at 13 zoom level.

felipemendes1994 avatar Aug 09 '23 20:08 felipemendes1994