dest_hint=true Problem

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

dest_hint=true Problem

UliBaer
Hi there,

with the latest version of mkgmap (r3675) i always get the following error:

SCHWERWIEGEND (StyledConverter): 66923011.o5m: At least one 'lines' rule in the style contains the expression mkgmap:dest_hint=true, it should be changed to mkgmap:dest_hint=*

I changed absolutely every occurrence of "dest_hint=true" to "dest_hint=*" in the "lines" file, but i still get this error. I'm clueless now... :?

Best regards, Uli
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

Gerd Petermann
Hi Uli,

Maybe it appears in an include?
I fear the message would be the same then. Also make sure to search
for expresssions with blanks, e.g. mkgmap:dest_hint = true
If that doesn't help, please post a link to the complete style.

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von UliBaer <[hidden email]>
Gesendet: Freitag, 1. April 2016 22:35
An: [hidden email]
Betreff: [mkgmap-dev] dest_hint=true Problem

Hi there,

with the latest version of mkgmap (r3675) i always get the following error:

SCHWERWIEGEND (StyledConverter): 66923011.o5m: At least one 'lines' rule in
the style contains the expression mkgmap:dest_hint=true, it should be
changed to mkgmap:dest_hint=*

I changed absolutely every occurrence of "dest_hint=true" to "dest_hint=*"
in the "lines" file, but i still get this error. I'm clueless now... :?

Best regards, Uli



--
View this message in context: http://gis.19327.n5.nabble.com/dest-hint-true-Problem-tp5871078.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

UliBaer
Hi Gerd,

i even searched only for "dest_hint" and found nothing.
I attach the style in question, cause i can't find another occurrence.

Best regards, Uli

Attachment: Style.7z
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

Gerd Petermann
Hmm,

I don't see the message with the style in this package. Many other warnings,
but not this one. Maybe you changed the wrong copy?
Warning: Resolution values <= 10 may confuse MapSource: 8:16, 9:15, 10:14, 11:12, 12:10
Warning: routable type 0x0d is used for non-routable line with level 0. This may break routing. Style file lines, line 247
Warning: routable type 0x11 is used for non-routable line with level 0. This may break routing. Style file lines, line 248
Warning: routable type 0x11 is used for non-routable line with level 0. This may break routing. Style file lines, line 249
Warning: routable type 0x12 is used for non-routable line with level 0. This may break routing. Style file lines, line 250
Warning: routable type 0x12 is used for non-routable line with level 0. This may break routing. Style file lines, line 251
Warning: routable type 0x12 is used for non-routable line with level 0. This may break routing. Style file lines, line 252
Warning: routable type 0x0d is used for non-routable line with level 0. This may break routing. Style file lines, line 253
 
Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von UliBaer <[hidden email]>
Gesendet: Freitag, 1. April 2016 22:55
An: [hidden email]
Betreff: Re: [mkgmap-dev] dest_hint=true Problem

Hi Gerd,

i even searched only for "dest_hint" and found nothing.
I attach the style in question, cause i can't find another occurrence.

Best regards, Uli

Attachment:  Style.7z
<http://gis.19327.n5.nabble.com/file/n5871081/Style.7z>



--
View this message in context: http://gis.19327.n5.nabble.com/dest-hint-true-Problem-tp5871078p5871081.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

UliBaer
I am absolutely sure, it is the right style in question.
I don't get *any* warnings using mkgmap r3674, only some test output like "Small wood" or "Small forest", which are echoed in the include files, e. g. landuse_polygons.

I double checked, this is the style in use. :?
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

Gerd Petermann
Hi Uli,

sorry,  the problem was indeed in the default style which is used
when the precomp-sea data is processed.
Yesterday I did not test with the precomp-sea option.

I've fixed the default style with r3676, so your problem should be solved with that.

Besides that I noticed that your style rules will probably not produce
useable hints, see e.g.
highway=motorway_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x09 road_class=3 road_speed=2 resolution 20]
highway=motorway_link                                                   [0x09 road_class=3 road_speed=2 resolution 20]

Both rules do the same, while the default style uses a different type (0x06) for the first one.
I am not sure if you use --process-destination or process-exits,
if yes and you really want the hints, please compare your rules with the default style
and check the docu, else maybe remove the rules.

Gerd


________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von UliBaer <[hidden email]>
Gesendet: Freitag, 1. April 2016 23:40
An: [hidden email]
Betreff: Re: [mkgmap-dev] dest_hint=true Problem

I am absolutely sure, it is the right style in question.
I don't get *any* warnings using mkgmap r3674, only some test output like
"Small wood" or "Small forest", which are echoed in the include files, e. g.
landuse_polygons.

I double checked, this is the style in use. :?



--
View this message in context: http://gis.19327.n5.nabble.com/dest-hint-true-Problem-tp5871078p5871085.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: dest_hint=true Problem

UliBaer
Hi Gerd,

thank you!
I will try again tonight and also try to fix the code for processing the exit and destination hints in the style!

Best regards, Uli