logo separator

[mkgmap-dev] expression not-contained

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Dec 13 06:27:53 GMT 2017

Hi Enrico,

I don't know how to test that.
The default style contains
set route_ref='$(route_ref);${ref|not-contained:;:route_ref}' | '$(route_ref)' | '${ref}';
Note that there is no blank between not-contained and :route_ref. Maybe that's the reason?

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 00:31:19
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] expression not-contained

hi, in my style, in "relations" I have this code:

set route_ref1='$(route_ref1), ${ref|not-contained:, :route_ref1}' |
'${ref}';

and I have a way that is member of 3 relations with ref 3, 362 and 363

it seems like the command not-contained process only the first character
because the result for
route_ref1 is only 3 instead 3, 362, 363

it's a bug of mkmap or it's something desired and known?

thanks

--enrico




--
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