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

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 ♦
accept rate: 16%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 28 Apr '18, 17:27

question was seen: 1,053 times

last updated: 21 May '18, 01:06

powered by OSQA