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.12k stars 613 forks source link

style paths with (null) in sources #1207

Closed ursha closed 3 months ago

ursha commented 3 months ago

Im running tileserver gl as docker container. Using Apache server for https. But for some reason I get (null) in the source path:

"sources": { "b3gezmpty": { "type": "vector", "url": "https://**(null**)/data/title_info_10.json" }, "gilofkaby": { "type": "vector", "url": "https://**(null)**/data/title_info_05_10.json" }, "1co4s5dv9": { "type": "vector", "url": "https://**(null)**/data/titleinfo_1.json" }, "dk0v95lwr": { "type": "vector", "url": "https://**(null)**/data/scotland_land_parcels.json" }

In my style.json I have these sources like this:

{ "version": 8, "name": "title_info_uk", "metadata": {"maputnik:renderer": "mbgljs"}, "sources": { "b3gezmpty": { "type": "vector", "url": "mbtiles://title_info_10.mbtiles" }, "gilofkaby": { "type": "vector", "url": "mbtiles://title_info_05_10.mbtiles" }, "1co4s5dv9": { "type": "vector", "url": "mbtiles://titleinfo_1.mbtiles" }, "dk0v95lwr": { "type": "vector", "url": "mbtiles://scotland_land_parcels.mbtiles" }

not sure if this is tileserver issue or some setting apache.