maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.24k stars 639 forks source link

Tiles not rendering at certain zoom levels #1034

Open felipemendes1994 opened 1 year ago

felipemendes1994 commented 1 year ago

Hello,

I've been using tileserver-gl, and I received a customer ticker last week where some tiles have not been rendered.

At first, I suspected the problem was my k8s env, but I had the same behaviour in prod and staging, so I tried running locally, and the same happens.

After that, I was suspecting the problem was in my mbtiles. So I generated a brand new one from the last updated pbf file downloaded right from OSM. But the problem still happening.

I also upgraded the tileserver-gl version from 4.5.0, to 4.6.3. But had no success in it.

Bellow there is an evidence of the problem. And my tileserver-gl logs.

Captura de tela de 2023-10-25 13-44-28

Captura de tela de 2023-10-25 13-44-54

Starting tileserver-gl v4.6.3 Using specified config file from config.json Starting server Listening at http://[::]:8080/ Startup complete GET /styles/maplink-custom/ 200 4510 - 26.497 ms GET /health 200 2 - 1.635 ms GET /maplibre-gl.css 200 63722 - 4.188 ms GET /maplibre-gl-inspect.css 200 1877 - 3.308 ms GET /leaflet.css 200 14001 - 3.371 ms GET /maplibre-gl-inspect.min.js 200 23319 - 3.578 ms GET /leaflet-hash.js 200 3462 - 3.755 ms GET /leaflet.js 200 146715 - 3.860 ms GET /maplibre-gl.js 200 767978 - 3.540 ms GET /L.TileLayer.NoGap.js 200 8137 - 1.915 ms GET /maplibre-gl.js.map 200 2365067 - 0.910 ms GET /leaflet.js.map 200 223926 - 0.797 ms GET /mapbox-gl-rtl-text.js 200 206897 - 0.828 ms GET /styles/maplink-custom/style.json 200 18297 - 2.944 ms GET /mapbox-gl-rtl-text.js 200 206897 - 0.681 ms GET /data/openmaptiles.json 200 73388 - 5.008 ms GET /styles/maplink-custom/sprite.json 200 9893 - 1.011 ms GET /styles/maplink-custom/sprite.png 200 29354 - 0.848 ms GET /data/openmaptiles/14/6071/9291.pbf 204 - - 2.175 ms GET /data/openmaptiles/14/6071/9292.pbf 204 - - 0.514 ms GET /data/openmaptiles/14/6072/9292.pbf 200 424795 - 5.677 ms GET /data/openmaptiles/14/6070/9292.pbf 204 - - 5.292 ms GET /data/openmaptiles/14/6072/9291.pbf 200 477190 - 5.163 ms GET /data/openmaptiles/14/6070/9291.pbf 200 341241 - 6.529 ms GET /favicon.ico 200 5430 - 0.694 ms GET /fonts/Noto%20Sans%20Regular/0-255.pbf 200 76580 - 7.133 ms GET /data/openmaptiles/14/6071/9291.pbf 204 - - 2.131 ms GET /data/openmaptiles/14/6071/9292.pbf 204 - - 2.054 ms GET /data/openmaptiles/14/6072/9291.pbf 200 477190 - 4.161 ms GET /data/openmaptiles/14/6072/9292.pbf 200 424795 - 2.000 ms GET /data/openmaptiles/14/6070/9291.pbf 200 341241 - 1.811 ms GET /data/openmaptiles/14/6070/9292.pbf 204 - - 1.948 ms GET /favicon.ico 200 5430 - 1.265 ms GET /favicon.ico 200 5430 - 1.326 ms GET /data/openmaptiles/14/6069/9292.pbf 200 493852 - 1.723 ms

Any ideia of what may be happening here?

acalcutt commented 1 year ago

What is the top image showing? is there a version that is working?

How are you generating your tiles?

felipemendes1994 commented 1 year ago

Hi @Acalcutt,

Both images are showing the same thing, but in different zoom levels. I mean, the problem happens after 14 zoom level. But the tileserver version, mbtiles. Everything is the same.

For generating my tiles I'm using this compiler here. https://github.com/lambdajack/sequentially-generate-planet-mbtiles.

I run an executable available in releases, that generate my mbtiles.

a14stoner commented 10 months ago

Hello, i have the same problem at :

At Z16 it looks like this:

image

and at Z17 like this:

image

and Z20 like this:

image

i see in the tileserver-gl log that it prints http 204 No Content :

image

I will make further analysis and report is here..

The problem seems to be that, that the vector data is not there:

image

i will report this back to the creator of this map.