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

Hi there, another question for today ;-), I successfully installed my osm tile server with this tutorial: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-20-04-lts/ and everything looks fine, except the fact, that I need to remove company names (Places). I´ve read that there´s a need for changing the Stylesheet of the map. Can anybody give me a hint, how to manipulate the stylesheet of the tutorial for achieving that?

Regards

asked 19 Oct '21, 10:20

Dom771013's gravatar image

Dom771013
61336
accept rate: 0%


I solved this, by editing the stylesheets in ~/src/openstreetmap-carto/style/*.mss. I just set the unwanted elements on transparent. For sure this is a little bit hacky, but it works. After that you need to do the following:

carto project.mml > mapnik.xml
then remove the folder /var/lib/mod_tile/ajt
then restart via sudo /etc/init.d/renderd restart

Regards

permanent link

answered 19 Oct '21, 15:59

Dom771013's gravatar image

Dom771013
61336
accept rate: 0%

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:

×204
×24

question asked: 19 Oct '21, 10:20

question was seen: 764 times

last updated: 19 Oct '21, 15:59

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