Re: [mkgmap-dev] [PATCH] Routable pedestrian areas

On my "Openfietsmap" a routable cyclemap of the Benelux, I use in the style file highway=pedestrian & area=yes [0x08 road_class=0 road_speed=0 resolution 22 continue] It routes via the borders of pedestrian areas for pedestrians, so whats the difference with this patch? See http://mijndev.openstreetmap.nl/~ligfietser/openfietsmap/Scripts/Styles/line... for my style definitions. Cheers, Minko

On Wed, Apr 07, 2010 at 11:35:52PM +0200, Minko wrote:
On my "Openfietsmap" a routable cyclemap of the Benelux, I use in the style file
highway=pedestrian & area=yes [0x08 road_class=0 road_speed=0 resolution 22 continue]
It routes via the borders of pedestrian areas for pedestrians, so whats the difference with this patch?
An educated guess: you cannot translate the same way to both a polygon (area) and a line, or can you now that the style branch has been merged to trunk? I would prefer to see this in the style file. The fewer hard-coded tweaks in the mkgmap core, the better. Is there now a way to implement the oneway-cycleway duplication in the style file? If there is, could the current code be removed from the core? Marko

On 08.04.2010 07:28, Marko Mäkelä wrote:
On Wed, Apr 07, 2010 at 11:35:52PM +0200, Minko wrote:
On my "Openfietsmap" a routable cyclemap of the Benelux, I use in the style file
highway=pedestrian& area=yes [0x08 road_class=0 road_speed=0 resolution 22 continue]
It routes via the borders of pedestrian areas for pedestrians, so whats the difference with this patch?
An educated guess: you cannot translate the same way to both a polygon (area) and a line, or can you now that the style branch has been merged to trunk?
I'm not sure. Never tried it out. Before the style branch merger, this definitely not worked (continue would only work inside lines on it own and inside polygon on its own).
I would prefer to see this in the style file. The fewer hard-coded tweaks in the mkgmap core, the better. Is there now a way to implement the oneway-cycleway duplication in the style file? Yes. i.e. ( oneway=yes | oneway=1 ) & ( cycleway=opposite | cycleway:oneway=no ) {set oneway=-1; set access=no; set bicycle=yes} [0x.. continue] If there is, could the current code be removed from the core?
Yes I would not see why it is needed.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Felix Hartmann
-
Marko Mäkelä
-
Minko