logo separator

[mkgmap-dev] [PATCH] Access destination tag

From Mark Burton markb at ordern.com on Sun Mar 1 16:49:30 GMT 2009

Hi Bernhard,

> my garmin routed me again through a residential area on a road that is 
> tagged as destination only. I think the "destination" check was lost 
> during the last rework of the access code.

Sorry, I should have said something. I don't think that, by default,
"destination" should bar access to a route because the route may
become unusable for everyone. Bad news if you are trying to route to your
home in that area.

So as an alternative, if you do want to stop routing through ways that
are designated "destination", how about adding something like this to
your lines style file?

access=destination { set access=no }
hgv=destination { set hgv=no }
motorcar=destination { set motorcar=no }
motorcycle=destination { set motorcycle=no }
psv=destination { set psv=no }
 
> 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.

Looking at the comments in RoadDef.java, it's not obvious what those
bits do.
 
> My patch is attached ...

It didn't apply to the current trunk, anyway.

Cheers,

Mark



More information about the mkgmap-dev mailing list