AW: How to use a local openstreetmap tile server with Marble

Torsten Rahn tackat at t-online.de
Wed May 6 10:23:54 BST 2026


Hi Scott,

Marble doesn't provide support for the pbf format (yet). Current support is limited to .jpg, .png and .osm. There is a tutorial for manual integration - which has whole lot more customization options compared to the wizard: 

https://techbase.kde.org/Marble/OSMSlippyMaps

I'd need to make further checks in order to give a good advice how to maybe work around your issue. 

Best regards 
Torsten 

Gesendet mit der Telekom Mail App

-- Original-Nachricht --
Von: Scott Liang <ge105 at ncf.ca>
Betreff: How to use a local openstreetmap tile server with Marble
Datum: 02.05.2026, 06:55 Uhr
An: marble-devel at kde.org

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