logo separator

[mkgmap-dev] [PATCH] Translate railway=platform

From Clinton Gladstone clinton.gladstone at googlemail.com on Mon Jul 27 15:30:39 BST 2009

On Fri, Jul 10, 2009 at 11:22 AM, Marko Mäkelä<marko.makela at iki.fi> wrote:
> Here is a tested patch for translating railway=platform just like
> highway=footway.  Please apply it.

Hi Marko,

Since a railway platform can be both a way and an area, does it make
sense to handle this in the same way as pedestrian squares?

That means adding an area!=yes directive to the lines file, and a
similar entry in the polygons file.

Lines file:

  railway=platform & area!=yes {add access = no; add foot = yes} [0x16
road_class=0 road_speed=0 resolution 23]

Polygons file:

  railway=platform & area=yes [0x1b resolution 0x17]

What do you think? I believe that the platforms with area=yes were one
of the causes of the recent short arc failures (which has since been
resolved.)

Cheers.



More information about the mkgmap-dev mailing list