This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Possibilities to remove company-names (Places) from card

1

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%


One Answer:

1

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

answered 19 Oct '21, 15:59

Dom771013's gravatar image

Dom771013
61336
accept rate: 0%

Source code available on GitHub .