logo separator

[mkgmap-dev] [PATCH v1] Weird routing failure + possible fix

From Mark Burton markb at ordern.com on Mon Mar 23 14:55:15 GMT 2009

Hi,

Someone has pointed out that the routing doesn't work in this little
map.

http://www.openstreetmap.org/?lat=30.918&lon=35.112&zoom=9

I have been testing using mapsource, not a gps.

If you try and route across road 227, it misses a chunk out on the left
hand side. Road 227 contains quite a few points so I tried splitting
the road into more than one segment to see if it made a difference
using the attached patch. I experimented with different values of
MAX_POINTS_IN_WAY and discovered that when using values of approx 250
or more, the gap in the routing appears. As I don't really know what's
causing the problem here and what the limit is, I suggest we limit
roads to no more than, say, 200 points to avoid this problem.

Any thoughts?

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-limit-points-in-way-v1.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090323/aa1f4fa8/attachment.bin 


More information about the mkgmap-dev mailing list