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

0
1

I currently have a satellite tile server based on an mbtiles file, and I also have a normal openstreetmap tile server with the normal carto styling.

But I want to make my openstreetmap tiles as a layer over my satellite layer. So I guess I need to change the style.css of my osm tile server so it only contains labels so I can use it as a layer over my satellite layer.

However, I can't really find any concrete examples and I can't find my way in the carto styling as it really is complex.

So are there any carto styling "templates" which I could use so that my tile server only offers transparent label-only tiles? Or is there another (easy) way to just have "label" tiles?

My satellite tile server is running with https://github.com/maptiler/tileserver-php.

My OSM tile server is setup using the following tutorial: How to Set Up OpenStreetMap Tile Server on Ubuntu 20.04.

asked 20 Sep '21, 14:05

KoenMlt's gravatar image

KoenMlt
427712
accept rate: 0%


See here for a bit more detail, but the important information is:

"... Next the style needed to be changed so that boundaries were displayed over transparent tiles. This was done by changing water-color and land-color in style.mss to “rgba(0,0,0,0)” in each case."

permanent link

answered 20 Sep '21, 14:43

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

2

I've never set up a tile server myself but what SomeoneElse describes in his blog and the example page he links to from there looks exactly like what you are asking for. So I wonder why you voted down the answer, @KoenMlt, not even leaving a comment.

(20 Sep '21, 15:18) TZorn
2

Oh crap my bad, thank you for letting me know. Was a bit too quick and missed the "Mark as answer" button. I corrected it.

(20 Sep '21, 15:36) KoenMlt
Your answer
toggle preview

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:

×69
×50
×22
×18

question asked: 20 Sep '21, 14:05

question was seen: 1,554 times

last updated: 20 Sep '21, 15:36

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