logo separator

[mkgmap-dev] [PATCH] reverse dead-end ways (to avoid routing problem?)

From Mark Burton markb at ordern.com on Sat Feb 14 18:06:25 GMT 2009

> We could simplify the code a little if we assume that all road ends  
> have nodes (see the startsWithNode-stuff in RoadDef).

Yes, we could probably remove some code there.

> > Something else has just occurred to me. Hasn't it been reported  
> > previously
> > that people were seeing the pink line go to the wrong end of  
> > motorways?
> 
> I'd assumed that these problems were fixed by your earlier patch, the  
> one with the incorrect offsets.

I don't think so, I remember at least one person reporting seeing the
routing line go to the wrong end of a motorway. Not to some random place,
but to the end of the way it should have gone to.

I attach a simplified version of my last patch - it now always increments the
highways count for the end nodes. By doing that, we know that the
resulting highway counts for the end nodes will always be one more than
the real number of ways that join those nodes (if we ever need to know
that).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-dead-end-nodes-v2.patch
Type: text/x-patch
Size: 666 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090214/db6fd92b/attachment.bin 


More information about the mkgmap-dev mailing list