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 |
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. answered 21 May '18, 01:06 SomeoneElse ♦ |