Re: [mkgmap-dev] How can I force the inners of a boundary relation to display?
Greg, I do use a fill. It isn't a solid color but a small letter "R" to stand for Reserve. That does show me where the inners are in a fashion but I would like to experiment with getting them to display with some sort of a line. On Sat, Dec 8, 2018 at 10:54 AM Greg Troxel wrote: > > Dave Swarthout writes: > > > 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? > > Not what you asked, but I reject the notion that because the tag is > "boundary=protected_area" that what should be rendered is a line on the > boundary, rather than an area. I view this tag as denoting something > about the area within the polygon -- basically landuse=conservation > and/or leisure=nature_reserve. > > So I would treat these boundary tags as being about the area and use a > green fill, and not focus so much on the boundary proper. > > I realize that mine is not a universally-held view :-) > -- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] How can I force the inners of a boundary relation to display?
Dave Swarthout writes: > 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? Not what you asked, but I reject the notion that because the tag is "boundary=protected_area" that what should be rendered is a line on the boundary, rather than an area. I view this tag as denoting something about the area within the polygon -- basically landuse=conservation and/or leisure=nature_reserve. So I would treat these boundary tags as being about the area and use a green fill, and not focus so much on the boundary proper. I realize that mine is not a universally-held view :-) ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
[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 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] default style improvements
I see there is no distinction between a pedestrian highway and a footway/path yet. On the generic new map I use 0x11 for pedestrian highways and 0x10 for cycleways, but you can do the opposite. Both are routable lines and visible on most (?) devices. Also for steps I use another routable line (0x13). You can also think of adding paved footways and paths to the pedestrian lines, so the distinction between paved and non paved are better visisble. I also recommend to set the colour of the pedestrian typ to the same grey as squares. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev