logo separator

[mkgmap-dev] expression not-contained

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Dec 14 14:26:57 GMT 2017

Hi Enrico,

it seems that Garmin doesn't like blanks in the highway symbol. Since your rule in relations
adds this blank this can be solved easily.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von demon.box <e.rossini73 at alice.it>
Gesendet: Mittwoch, 13. Dezember 2017 20:07:41
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] expression not-contained

Hi Gerd, it's very very strange but this is the result without not-contained:

<http://gis.19327.n8.nabble.com/file/t339261/2.jpg>

*relations*
type=route & route=hiking{
        apply {
                set route_ref1='$(route_ref1), ${ref}' | '${ref}';
                set route_name='$(route_name), ${name|not-contained:, :route_name}' |
'$(route_name)' | '${name}'
                }
}

how can you see the label start with 362, 363, 3, 3
so finally I think that the problem is *not-contained* command... but I
still don't understand what is it...
any ideas?
thanks.
--enrico

Gerd Petermann wrote
> Hi Enrico,
> I used echotags like this
> highway=path {name '${route_ref1|highway-symbol:oval}
> ${route_name}';echotags "2"}
> [0x10e15 resolution 24]
>
> The result:
> Way 189126509 [highway=path, mkgmap:label:1=3, 363, 362 Sentiero 122ª
> Brigata Garibaldi, Lumezzane (Pieve) - San Bernardo - Corna di Sonclino,
> Lumezzane (Pieve) - Grassi - Corna di Sonclino, route_name=Sentiero 122ª
> Brigata Garibaldi, Lumezzane (Pieve) - San Bernardo - Corna di Sonclino,
> Lumezzane (Pieve) - Grassi - Corna di Sonclino, route_ref1=3, 363, 362] 2
>
> So, your problem is not related to not-contained. I am not sure what you
> can use with highway symbols,
> maybe Garmin doesn't allow lists of values?
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <

> mkgmap-dev-bounces at .org

> > im Auftrag von demon.box <

> e.rossini73@

> >
> Gesendet: Mittwoch, 13. Dezember 2017 19:23:01
> An:

> mkgmap-dev at .org

> Betreff: Re: [mkgmap-dev] expression not-contained
>
> Hi Gerd, I'm sorry but I see this in MapSource
>
> <http://gis.19327.n8.nabble.com/file/t339261/1.jpg>
>
> how can you see only ref 3 is displayed....
> I don't understand...
> Thanks.
> --enrico
>
>
>
>
> --
> Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

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





--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list