logo separator

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

From GerdP gpetermann_muenchen at hotmail.com on Mon Feb 4 09:45:31 GMT 2013

Hi,

with r2448 the removeShortArcs routine was no longer applied to non-routable
ways.
This increased the possibility that an invalid line passes all filters but
finally 
is not written to the RGN file while still increasing the subdivision
lineNumber.
This breaks routing in some case.

Attached patch adds a check to the final filter to avoid that.

fix_routing_v1.patch
<http://gis.19327.n5.nabble.com/file/n5747979/fix_routing_v1.patch>   

@Steve:
It would also be possible to create a new filter for that, but this would
mean
that we duplicate most of the code in LinePreparer. I don't know if this
would 
be better.

Ciao,
Gerd




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


More information about the mkgmap-dev mailing list