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.26k stars 643 forks source link

Different color on some tiles #514

Open zoran995 opened 3 years ago

zoran995 commented 3 years ago

Hello everyone, We are trying to serve pre-rendered vector tiles of the entire world using tileserver-gl (version 3.0.0). But we run into an issue that some tiles are having black (dark color), which looks like a completely inverse of the style definition, and the map doesn't look nice at all. This is not happening on all zoom levels. I am attaching the screenshots of zoom levels 7, 8, and 9, haven't seen it at zoom level 10. Everything seems to work fine when using styled vectortiles, but our app doesn't support it yet.

Any ideas about this?

zoom 7 zoom 8 zoom 9

zoran995 commented 3 years ago

The issue seems to come from using raster-dem which doesn't cover the entire earth and so doesn't have data for the entire earth. It was throwing the error Failed to load source hillshade: The document is empty. at offset 0