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

We already filtered amenities and shops from a o5m file and then converted that into a osm file. The next step is importing that to a new db.

After that is it possible to have an entry on renderd.conf to look at the new tiles without amenities and shops in other path? Like so

/hot/0/0/0.png < tiles with shops and amenities

/custom/0/0/0.png < tiles without shops and amenities

Do we have to make a copy of mapnik.xml pointing to the new db as well?

asked 28 Apr '18, 17:27

gfitz's gravatar image

gfitz
46347
accept rate: 0%


Yes and yes.

The "ajt" section in this example is a map style. Just create another section pointing at the other mapnik.xml to create another map style. It would have "URI=/custom/" in your example.

As you've mentioned, you'll need to manually edit either the second mapnik.xml to point at the alternative database, or edit a second map style before creating mapnik.xml from it. I tend to do the former.

permanent link

answered 21 May '18, 01:06

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
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:

×710
×165
×105

question asked: 28 Apr '18, 17:27

question was seen: 1,580 times

last updated: 21 May '18, 01:06

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