<html><head></head><body style="font-family: Monospace;"><div>Hi</div><div><br></div><div>I propose this in 'lines':</div><div><br></div><div># squares and plazas</div><div>place=square [0x17 resolution 22]</div><div># squares/plazas are also mapped as highway=pedestrian areas.</div><div># The tag area=yes forces the polygon element to be considered an area and there is an understanding that</div><div># derivation from a multipolygon relation does likewise, hence this is the appropriate rule:</div><div>#highway=pedestrian & (area=yes | mkgmap:mp_created=true) [0x17 resolution 22]</div><div># However, many squares are mapped as simple closed ways without any area tag and, to show these, an</div><div># alternative rule is needed, which assumes an area unless explicitly not:</div><div>highway=pedestrian & area!=no [0x17 resolution 22]</div><div># Note that this rule will catch polygon elements that might not have been intended to be squares/plazas.</div><div># Only one of the above rules is needed</div><div><br></div><div>Is this reasonably clear? should I leave both rules uncommented or comment the other way around?</div><div><br></div><div>Ticker</div><div><br></div><div>On Tue, 2019-01-08 at 00:30 +0100, Lorenzo Mastrogiacomi wrote:</div><blockquote type="cite"><div>Can it be like this? So I can just comment the second rule to be happy</div><div>:)</div><div><br></div><div><br></div><div>highway=pedestrian & (area=yes | mkgmap:mp_created=true) [0x17</div><div>resolution 22]</div><div># assume that a closed way with highway=pedestrian is meant to describe</div><div>an area even if area=yes is missing</div><div>highway=pedestrian & area!=no [0x17 resolution 22]</div><div><br></div><div><br></div><div><br></div><div>Il giorno lun, 07/01/2019 alle 10.20 +0000, Gerd Petermann ha scritto:</div><blockquote type="cite"><div>I think it is OK when you add a comment like</div><div># assume that a closed way with highway=pedestrian is meant to</div><div>describe an area even if area=yes is missing</div><div><br></div><div>Gerd</div><div><br></div><div>________________________________________</div><div>Von: mkgmap-dev <</div><div><a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.mkgmap.org.uk</a></div><blockquote type="cite"><div>im Auftrag von Ticker Berkin <</div></blockquote><div><a href="mailto:rwb-mkgmap@jagit.co.uk">rwb-mkgmap@jagit.co.uk</a></div><blockquote type="cite"><div><br></div></blockquote><div>Gesendet: Montag, 7. Januar 2019 10:55</div><div>An: </div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div>Betreff: Re: [mkgmap-dev] default style improvements</div><div><br></div><div>Hi</div><div><br></div><div>Reading some of the relevant wiki pages, I am finding the wording</div><div>ambiguous.</div><div><br></div><div><a href="https://wiki.openstreetmap.org/wiki/Key:area">https://wiki.openstreetmap.org/wiki/Key:area</a></div><div><br></div><div><a href="https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian">https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian</a></div><div><br></div><div><a href="https://wiki.openstreetmap.org/wiki/Area">https://wiki.openstreetmap.org/wiki/Area</a></div><div><br></div><div><br></div><div>It seems wrong that the handling of the area= tag is not consistent</div><div>between polygons generated from closed ways and those generated by</div><div>multipolygon relations, but, if you assert that it is, I'll respect</div><div>it.</div><div><br></div><div>Regardless, there are a lot of Piazzas that are not generated from a</div><div>multipolygon and don't have the area tag, eg</div><div><br></div><div><a href="https://www.openstreetmap.org/way/601220094">https://www.openstreetmap.org/way/601220094</a></div><div><br></div><div><a href="https://www.openstreetmap.org/way/256580148">https://www.openstreetmap.org/way/256580148</a></div><div><br></div><div><a href="https://www.openstreetmap.org/way/173770171">https://www.openstreetmap.org/way/173770171</a></div><div><br></div><div><br></div><div>My 'polygons' change as it stands:</div><div><br></div><div> highway=pedestrian & area!=no [0x17 resolution 22]</div><div><br></div><div>will show these as piazza, along with other areas that might not be.</div><div>If I change it to:</div><div><br></div><div> highway=pedestrian & (area=yes | mkgmap:mp_created=true) [0x17</div><div>resolution 22]</div><div><br></div><div>it won't show them.</div><div><br></div><div>Which is preferred?</div><div><br></div><div>Ticker</div><div><br></div><div>On Sun, 2019-01-06 at 20:37 +0100, Lorenzo Mastrogiacomi wrote:</div><blockquote type="cite"><div>It's not what I meant.</div><div><br></div><div>The example you provided is a multipolygon relation and</div><div>multipolygons</div><div>are always areas regardless if area=yes is set or not.</div><div>So this is not a valid example, actually I can not find one really</div><div>evident of missing area=yes on pedestrian areas.</div><div><br></div><div><br></div><div>Lorenzo</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Il giorno dom, 06/01/2019 alle 17.37 +0000, Ticker Berkin ha</div><div>scritto:</div><blockquote type="cite"><div>Hi</div><div><br></div><div>I don't see anything in the OSM definition of a square that</div><div>requires</div><div>it</div><div>to come from a multipolygon relation</div><div><br></div><div><a href="https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian">https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian</a></div><div><br></div><div><br></div><div><br></div><div>Ticker</div><div><br></div><div>On Sun, 2019-01-06 at 17:46 +0100, Lorenzo Mastrogiacomi wrote:</div><blockquote type="cite"><div>Il giorno dom, 06/01/2019 alle 12.45 +0000, Ticker Berkin ha</div><div>scritto:</div><blockquote type="cite"><div>Hi Lorenzo</div><div><br></div><div>I know that the OSM definition says square should have</div><div>area=yes,</div><div>but</div><div>I</div><div>find a vast number where there is no area tag and they seem</div><div>to</div><div>be</div><div>square/piazza, eg</div><div><br></div><div><a href="https://www.openstreetmap.org/relation/5174171">https://www.openstreetmap.org/relation/5174171</a></div><div><br></div><div><br></div></blockquote><div><br></div><div><br></div><div>This is a multipolygon.</div><div>The current rule to handle this with the mkgmap:mp_created tag</div><div>is</div><div>fine</div><div>for a default style in my opinion.</div><div><br></div><div><br></div><blockquote type="cite"><div>With Italy data from July 2018, I get about 5000</div><div>highway=pedestrian</div><div>polygons without an area tag, and, from a small sample, about</div><div>1</div><div>in</div><div>3</div><div>look like piazza.</div><div>The only effect is that a polygon is generated, it doesn't</div><div>effect</div><div>routes. I prefer to see the possible square rendered.</div><div><br></div></blockquote><div><br></div><div>I don't. 1 in 3 correct is not so good :)</div><div><br></div><div><br></div><div><br></div><blockquote type="cite"><div>Ticker</div><div><br></div><div><br></div></blockquote><div><br></div><div><br></div><div>Lorenzo</div><div><br></div><div><br></div><div><br></div><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div><br></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><div><br></div><div><br></div></blockquote><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div><br></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><div><br></div><div><br></div><div><br></div></blockquote><div><br></div><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><div><br></div></blockquote><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><br></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div><div><br></div><div><br></div></blockquote><div><br></div><div><br></div><div>_______________________________________________</div><div>mkgmap-dev mailing list</div><div><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a></div><div><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></blockquote></body></html>