How to use a local openstreetmap tile server with Marble

Scott Liang ge105 at ncf.ca
Mon Apr 13 14:41:33 BST 2026


Greetings

I have set up a local tile server that serves the openstreetmap tiles generated by planetiler[1]. The data file is in the mbtiles format. I am trying to make Marble use the locally run tile server to load the maps but whenever I use "Create a New Map" and enter the localhost address, I get "the base tile could not be downloaded successfully" error. Can somebody help me with this problem?

The local server used to render tiles is "tileserver-gl-light"[2], installed with npm. 

It seems to me that the "tile server" I am using returns the data in the .pbf format (e.g. "GET http://127.0.0.1:8080/data/v3/4/10/8.pbf"), when I analyzed the web traffic with f12 tools. How am I going to enter the URL at "Create a New Map" prompt? I tried "http://127.0.0.1:8080/{zoomLevel}/{x}/{y}.pbf" but it returned the error mentioned above. 

Let me know if there is a solution.

[1]: https://github.com/onthegomap/planetiler/blob/main/README.md
[2]: https://github.com/maptiler/tileserver-gl

Regards,
Scott L. Lueng


More information about the Marble-devel mailing list