NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi Guys,

After successfully following next guide and setup of OSM https://switch2osm.org/serving-tiles/manually-building-a-tile-server-18-04-lts/ and loading of a map from Geofabric into Postgre, now i would like to change the Map style to be different that i have locally on the server. As example i have now the below one :

alt text

but eventually if i want to integrate let's say dark style from here https://github.com/openmaptiles/dark-matter-gl-style what are the required steps to do it ? Or can you provide me a link with a guide how can i achive this.

asked 04 Feb '21, 08:41

DavorB0's gravatar image

DavorB0
22445
accept rate: 0%


You've built a tile server for serving raster tiles. The style you mentioned is a vector tile style. The technical setup for those two are quite different.

You could setup a tileserver-gl (see https://tileserver.readthedocs.io/en/latest/ ) for serving vector tiles in the dark-matter-gl-style. that you first have to produce (see more here: https://openmaptiles.org/docs/generate/generate-openmaptiles/ ).

Otherwise if you would rather stay in the raster tile world, you would have to rework the openstreetmap-carto style to suit your needs or find a another mapnik/cartocss raster style that fits your needs.

permanent link

answered 05 Feb '21, 12:38

Spiekerooger's gravatar image

Spiekerooger
3.1k22356
accept rate: 16%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×24

question asked: 04 Feb '21, 08:41

question was seen: 1,849 times

last updated: 05 Feb '21, 12:38

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum