[mkgmap-dev] How can I force the inners of a boundary relation to display?
From Dave Swarthout daveswarthout at gmail.com on Sat Dec 8 10:30:22 GMT 2018
Yes, that's confusing to me. I included those snippets to illustrate what I am currently using — maybe you can explain to me stepwise how those boundaries get rendered? Is there code inside mkgmap that interprets such directives and applies tags to the outer ways of relations? If there is then I assume the same can be done for those inners. And you would be the one who can best answer that question. Thanks for taking the time to explain. Dave On Sat, Dec 8, 2018 at 5:03 PM Gerd Petermann < gpetermann_muenchen at hotmail.com> wrote: > Hi Dave, > > in the relations rule you set mkgmap:boundary_name but in the lines rule > you don't use that. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von > Dave Swarthout <daveswarthout at gmail.com> > Gesendet: Samstag, 8. Dezember 2018 03:18 > An: Development list for mkgmap > Betreff: [mkgmap-dev] How can I force the inners of a boundary relation > to display? > > Hi, > > I've been adding large Alaskan National Wildlife Refuges to OSM. The > boundaries weren't displaying so I added a directive in my relations file > modeled after the administrative boundary code in the default style that > adds a name to protected areas like so: > > (type=boundary | type=multipolygon) & boundary=protected_area & name=* > { apply > { > set mkgmap:boundary_name='$(mkgmap:boundary_name)/${name}' | '${name}'; > } > } > > Then in my lines file I included a line style defined as: > boundary=nature_reserve | boundary=protected_area [0x10e12 resolution 19]. > > This works well but the lines bounding the inner areas of these relations > do not render. How can I make them display? > > Many thanks > > Dave > > -- > Dave Swarthout > Homer, Alaska > Chiang Mai, Thailand > Travel Blog at http://dswarthout.blogspot.com > -- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20181208/10564d16/attachment-0001.html>
- Previous message: [mkgmap-dev] How can I force the inners of a boundary relation to display?
- Next message: [mkgmap-dev] How can I force the inners of a boundary relation to display?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list