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 Wed Apr 17 06:42:09 BST 2013

Hi all,

the default style lines file contains this:

# Mop up any unrecognised highway types
highway=* & highway!=proposed & area!=yes [0x07] 

which is flagged by the new checks. Please suggest a replacement.

Gerd


franco_bez wrote
> Hi Gerd,
> 
> now I get both the warning during --list-styles and the Error during
> build. :-)
> 
> when the offending line in the style is fixed, both the warning and the
> error disappear. :-)
> 
> Looks good to me.
> 
> Thanks a lot.
> 
> Ciao,
>    Franco
> 
> Am 16.04.2013 07:01, schrieb Gerd Petermann:
>> Hi Franco,
>>
>> > Subject: Re: [mkgmap-dev] highway=track with no road_class and
>> road_speed set breaks routing ## was ## "No roads near target" bug in
>> Schwabmünchen
>> >
>> > franco_bez wrote
>> > >
>> > > franco_bez wrote
>> > >> I tested your binary with the proposed change on the Style, and now
>> I
>> > >> still get precisely 1 Error Message in my test case. Before there
>> were
>> > >> plenty (maybe 100) of them.
>>
>> The error message is only printed once now, before it was repeated for
>> each case.
>>
>> > > The message confuses me its:
>> > >> SEVERE (MapBuilder):
>> > >> /home/franco/map_build/test_cases/tiles/63360004.o5m:
>> Non-routable way
>> > >> with routable type 0xf is used for a routable map. This leads to
>> routing
>> > >> errors. Use --list-styles to check the style.
>> > > In all the style files I find no 0xf at all.
>> > > Where ever this may come from ?
>> >
>> > Could it be this line ?
>> > highway=track & tracktype=grade2 [0x0f resolution 24]
>>
>> yes, 0xf is equal to 0x0f. 
>>
>> >
>> > but why does --list-styles not warn me ?
>>
>> Because I made another stupid mistake :-(
>> Sorry for that, I disabled one check while testing and forgot to
>> enable it again.
>> I'll try to code some unit tests for that when everybody is satisfied
>> with the results.
>>
>> Attached is v5 of the patch and the binary is here:
>> |http://files.mkgmap.org.uk/download/109/mkgmap.jar
>>
>> Gerd
>> |
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





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


More information about the mkgmap-dev mailing list