logo separator

[mkgmap-dev] [PATCH] - In search of the fabled "destination only routing" bit

From Mark Burton markb at ordern.com on Tue Mar 3 18:44:26 GMT 2009


Hi,

The other day, Bernhard said:

> Has anybody played with the RoadNetwork.DELIVERY field until know ? To 
> me it looks like this might solve the problem. If the access is totally 
> blocked to a area the routing gets very strange. If I want to go into 
> this area I get routed via a unpaved road which is also blocked. If I 
> set the RoadNetwork.DELIVERY field the routing gets more useful.

I can now confirm that what used to be called RoadNetwork.DELIVERY bit
is, in fact, the fabled "destination only routing" bit. If you set this
bit for a road, mapsource (and presumably, the gps also) will avoid routing
you through that road unless your destination is only accessible using
that way.

It only appears to affect the routing of cars/motorcycles - for all the
other types of vehicles, it makes no difference.

The attached patch activates this feature when it sees either
access=destination, motorcar=destination or motorcycle=destination tags.
It issues a warning for access=destination to remind the map maker that only
car routing is affected.

Please test the attached patch.

Many thanks Bernhard for pointing me in the right direction.

Cheers,

Mark

PS - still don't know what the other spare bit (what was called
"emergency") is for.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-destination-routing.patch
Type: text/x-patch
Size: 4619 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090303/f569a150/attachment.bin 


More information about the mkgmap-dev mailing list