logo separator

[mkgmap-dev] Patch v2 for routing problems in r2448 and higher

From GerdP gpetermann_muenchen at hotmail.com on Mon Feb 4 20:00:39 GMT 2013

Hi,

attached is a patch that adds a new filter and a simple check to avoid the 
routine problems.
1) StyledConverter: try to avoid adding consecutive equal coords
2) LinePreparerFilter: do the same calcs as LinePreparer and reject lines
that would be rejected later by LinePreparer
3) LineSplitterFilter: don't create small final part which is likely to be
discarded

fix_routing_v2.patch
<http://gis.19327.n5.nabble.com/file/n5748091/fix_routing_v2.patch>  

It solved the problems reported by NetCheck  with my test data but it is
still 
possible that invalid lines are passed to MapBuilder.ShapeAddFilter due to
the 
bogus addElement function.
I am not 100% sure if these invalid shapes can cause routing errors, but I
doubt it.

Ciao,
Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/Patch-v2-for-routing-problems-in-r2448-and-higher-tp5748091.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list