
Hi, I wonder why the default style lines file adds areas as a routable lines, e.g. http://www.openstreetmap.org/browse/way/25466948 The rule that matches is highway=service [0x07 road_class=0 road_speed=2 resolution 22] Does it make sense to make areas routable? The reason why I found this is that the removeShortArcs method is messing this up, see attached gpx. Gerd

On Thu, Jun 06, Gerd Petermann wrote:
Hi,
I wonder why the default style lines file adds areas as a routable lines, e.g. http://www.openstreetmap.org/browse/way/25466948
The rule that matches is highway=service [0x07 road_class=0 road_speed=2 resolution 22]
Does it make sense to make areas routable?
Yes, how else do yo want to connect the streets which are ending at this place? In your case, the parking area in the north wouldn't be reacheable anymore. And yes, I myself don't like to have only the border of an area routeable, I would prefer if we could create invisible ways crossing the area and connecting all ways ending at the place, but I have no idea how this could be done. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

Hi Thorsten, okay, I understand. I assume you look at the map rendered by OSM. If you look at this area in e.g. JOSM you see that a total of four ways are meeting in the middle of the area. So this is probably a case where the area is not needed, but I also don't know how to detect it. Gerd Thorsten Kukuk wrote
On Thu, Jun 06, Gerd Petermann wrote:
Hi,
I wonder why the default style lines file adds areas as a routable lines, e.g. http://www.openstreetmap.org/browse/way/25466948
The rule that matches is highway=service [0x07 road_class=0 road_speed=2 resolution 22]
Does it make sense to make areas routable?
Yes, how else do yo want to connect the streets which are ending at this place? In your case, the parking area in the north wouldn't be reacheable anymore.
And yes, I myself don't like to have only the border of an area routeable, I would prefer if we could create invisible ways crossing the area and connecting all ways ending at the place, but I have no idea how this could be done.
Thorsten
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Question-reg-default-style-tp5764200p5764202.... Sent from the Mkgmap Development mailing list archive at Nabble.com.

On Thu, Jun 06, GerdP wrote:
Hi Thorsten,
okay, I understand. I assume you look at the map rendered by OSM. If you look at this area in e.g. JOSM you see that a total of four ways are meeting in the middle of the area.
Ok, yes, I missed that, and in this case this is the better variant.
So this is probably a case where the area is not needed, but I also don't know how to detect it.
Yes, a very special case, I think in 99,9% of the cases the area is needed. Thorsten
Thorsten Kukuk wrote
On Thu, Jun 06, Gerd Petermann wrote:
Hi,
I wonder why the default style lines file adds areas as a routable lines, e.g. http://www.openstreetmap.org/browse/way/25466948
The rule that matches is highway=service [0x07 road_class=0 road_speed=2 resolution 22]
Does it make sense to make areas routable?
Yes, how else do yo want to connect the streets which are ending at this place? In your case, the parking area in the north wouldn't be reacheable anymore.
And yes, I myself don't like to have only the border of an area routeable, I would prefer if we could create invisible ways crossing the area and connecting all ways ending at the place, but I have no idea how this could be done.
Thorsten
-- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Question-reg-default-style-tp5764200p5764202.... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
participants (3)
-
Gerd Petermann
-
GerdP
-
Thorsten Kukuk