OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-07-06 10:31:08

voharunado
Member
Registered: 2018-07-06
Posts: 1

Self-hosted tile server style

Hi,

I've been following this : https://switch2osm.org/manually-buildin … 18-04-lts/
so I'm using the Openstreetmap-carto style.

The server is fully functional but I want to use an other style for rendering. I've a json file from openmaptiles, is there any way I can use it on my self-hosted tile server? I know that Openmaptiles is not OSM but I'm looking for a way to eventually convert this simple json file to be able to use it.
I could not found anything about this on Google, I suppose these are very different things but I'm having a hard time trying to understand how the style works.

If there is no way to use it, can anybody give me the link of a tutorial to customize the style or links to other compatible styles like Openstreetmap-carto?

Thanks!

Offline

#2 2018-09-18 11:36:29

helenhahaha
Member
Registered: 2018-09-18
Posts: 1

Re: Self-hosted tile server style

If there is no way to use it, can anybody give me the link of a tutorial to customize the style or links to other compatible styles like Openstreetmap-carto?

Offline

#3 2018-09-18 11:51:53

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,253
Website

Re: Self-hosted tile server style

Customizing OSM Carto means dealing with its code, you can find some basic documentation here:

https://wiki.openstreetmap.org/wiki/Standard_tile_layer

What kind of customization would you like to do? Changing colors should easy, removing some items too, but changing the label language or adding things is harder.

What do you mean by compatible? There are some forks listed on the wiki page, though if they were forked before v4.x, they use different format of a database.

Offline

#4 2018-09-19 13:37:03

getmaps_io
Member
Registered: 2018-09-19
Posts: 1
Website

Re: Self-hosted tile server style

helenhahaha wrote:

If there is no way to use it, can anybody give me the link of a tutorial to customize the style or links to other compatible styles like Openstreetmap-carto?

List of Openmaptiles styles are available at this page: https://openmaptiles.org/styles/ Note a link to GitHub repo for each style. As page suggest you can edit the styles with Mapbox Studio Classic that can be obtained from here: https://github.com/mapbox/mapbox-studio-classic

Alternatively you can use OSM-Bright style (https://github.com/mapbox/osm-bright) if you already had followed instructions for Openstreetmap-carto from here https://switch2osm.org/manually-buildin … 18-04-lts/. Just change the path to a style file in mod_tile config or add another section with separate URL. OSM-Brights will work well with your current database without the need to reimport OSM data.


https://getmaps.io - OSM based maps, geocoding and routing service

Offline

Board footer

Powered by FluxBB