logo separator

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

From Dave F. davefox at madasafish.com on Mon Feb 28 15:01:57 GMT 2011

On 28/02/2011 12:04, Marko Mäkelä wrote:
> On Mon, Feb 28, 2011 at 11:26:39AM +0000, 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.

But that would mean *all* linear leisure=tracks are rendered as 
footpaths. This is clearly incorrect.

You should make use of the access tag to clarify public access

A sports track (such as a running track) is still a sports track when 
not in use & should be rendered as so.

If there is a defined public way that is occasionally used as a sports 
track (mountain bike track, for example) then that track could be put 
into a route relation.

> 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 majority of the wiki was written a while ago before relations were 
widely used. They are also written as a guide & not set in concrete.

Multi polygon relations make the area tag redundant.

> 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?

Again, the access tag should be implemented.

Dave F.

More information about the mkgmap-dev mailing list