logo separator

[mkgmap-dev] highway=track with no road_class and road_speed set breaks routing ## was ## "No roads near target" bug in Schwabmünchen

From GerdP gpetermann_muenchen at hotmail.com on Mon Apr 15 11:19:11 BST 2013

franco_bez wrote
> Hi Gerd,
> I compiled another tgz archive to demonstrate the bug, in case you need
> it.
> 
> http://francobez.bplaced.net/files/mkgmap/test_cases_errors.tgz
> 
> Ciao,
>   Franco

I've used Bernds style to reproduce the problem:
https://github.com/berndw1960/aiostyles

Attached is a patch that replaces the "mkgmap:check_connected"  feature with 
a "mkgmap:set_unconnected_type" feature.

routable_types_v3.patch
<http://gis.19327.n5.nabble.com/file/n5757151/routable_types_v3.patch>  

Old version was:
highway=service | highway=estate | highway=living_street
		{
		  add mkgmap:dead-end-check=false;
		  add mkgmap:check_connected = true
		}

the new rule should look similar to this:

highway=service | highway=estate | highway=living_street
		{
		  add mkgmap:dead-end-check=false;
		  add mkgmap:set_unconnected_type = 0x12007
		}

The meaning is: If the highway is not connected to any road , change the
type
to 0x12007 and add it as a line instead of a road.

Besides that the patch implements the changes of routable_types_v2.patch.
The compiled binary is here:
http://files.mkgmap.org.uk/download/107/mkgmap.jar

Gerd




--
View this message in context: http://gis.19327.n5.nabble.com/No-roads-near-target-bug-in-Schwabmunchen-tp5753364p5757151.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list