Re: [mkgmap-dev] Commit: r1867: Translate leisure=track into a line (footway) unless area=yes.

2011-03-01 Thread WanMil
 Multi polygon relations make the area tag redundant.

 WanMil, could we automatically add area=yes to all multipolygon relation
 members? Or perhaps mkgmap:area=yes?


All polygons created by the multipolygon algorithm are tagged with 
mkgmap:stylefilter=polygon, which means that such tagged ways are only 
used with the polygon style. The source ways of the multipolygon are 
tagged with mkgmap:stylefilter=polyline, so that they are only handled 
by the line style. This allows to visualize boundaries although the 
boundary multipolygon is not fully contained in the tile.

 From my point of view, the area tag is relevant for tags that could 
either be used as line or as polygon. If you create a square tagged with 
highway=pedestrian the place inbetween could either belong to the 
pedestrian area (area=yes) or could be not accessible (area=no or not 
set). But I admit that the area tag was used in multiple variants and I 
am not a very up2date in OSM tagging guidelines.

WanMil
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit: r1867: Translate leisure=track into a line (footway) unless area=yes.

2011-02-28 Thread svn commit

Version 1867 was commited by marko on 2011-02-28 11:03:17 + (Mon, 28 Feb 
2011) 

Translate leisure=track into a line (footway) unless area=yes.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r1867: Translate leisure=track into a line (footway) unless area=yes.

2011-02-28 Thread Marko Mäkelä
On Mon, Feb 28, 2011 at 11:26:39AM +, Dave F. wrote:
Could you expand on what you mean by footway?

I mean the same as highway=footway, or 
{add access = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23]

My reasoning was that sports tracks may or may not be closed from the 
general public. When not in use, they could be used as shortcuts by 
pedestrians, but not necessarily for other means of transportation.

I've recently tagged a running track (leisure=track) as closed way 
relations (inner  outer) to form an area but don't use the area=yes 
tag. Would that display correctly?

The wiki http://wiki.openstreetmap.org/wiki/Tag:leisure%3Dtrack says 
that leisure=track is to be used on nodes and ways. This hints that you 
should add area=yes when you mean an area.

When it comes to sport=cycling, I guess that we could add bicycle=yes, 
but are there really so many cycling tracks in the OSM data? Wouldn't it 
be simpler to add the bicycle=yes to the source data, to those tracks 
that are available for the general public outside sports events?

Marko
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r1867: Translate leisure=track into a line (footway) unless area=yes.

2011-02-28 Thread Torsten Leistikow
Marko Mäkelä schrieb am 28.02.2011 13:04:
 The wiki http://wiki.openstreetmap.org/wiki/Tag:leisure%3Dtrack says 
 that leisure=track is to be used on nodes and ways. This hints that you 
 should add area=yes when you mean an area.

The wiki http://wiki.openstreetmap.org/wiki/Map_Features also allows this tag
for areas.

It is a known problem, that the OSM data does not differentiate between lines
and areas. And I don't think we should rely always on an area=yes tag to solve
this mess.

Gruss
Torsten
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev