[mkgmap-dev] Rule not working consistently
From Felix Hartmann extremecarver at gmail.com on Thu Sep 14 00:28:56 BST 2017
ah of course it worked as long as name:en was present - but not for any other like int_name or so on. On 14 September 2017 at 00:16, Felix Hartmann <extremecarver at gmail.com> wrote: > I do wonder still why it worked sometimes even though syntax was wrong. > > On 14 September 2017 at 00:15, Felix Hartmann <extremecarver at gmail.com> > wrote: > >> Oh thanks - I was really blind here. >> >> On 13 September 2017 at 19:31, Steve Ratcliffe <steve at parabola.me.uk> >> wrote: >> >>> On 13/09/17 18:17, Felix Hartmann wrote: >>> >>>> Anyone got any idea why the following rule is not working as expected? >>>> >>>> name:int!=* & ( name:en=* | int_name=* | name:fr=* | name_en=* | >>>> name_int=* | name:es=* | name:pt=* | name:de=* | name:it=* | name:nl=* | >>>> name:dk=* ) {set name:int='${name:en}' | name:int='${int_name}' | >>>> name:int='${name_int}' | name:int='${name_en}' | name:int='${name:de}' | >>>> name:int='${name:fr}' | name:int='${name:es}' | name:int='${name:pt}' | >>>> name:int='${name:it}' | name:int='${name:nl}' | name:int='${name:dk}' } >>>> >>> >>> The syntax for set is: >>> >>> set name:int = '${name:en}' | '${int_name}' | ... >>> >>> and not >>> >>> set name:int = '${name:en}' | name:int='${int_name}' | ... >>> >>> Steve >>> >>> _______________________________________________ >>> mkgmap-dev mailing list >>> mkgmap-dev at lists.mkgmap.org.uk >>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>> >> >> >> >> -- >> Felix Hartman - Openmtbmap.org & VeloMap.org >> Schusterbergweg 32/8 >> 6020 Innsbruck >> Austria - Österreich >> > > > > -- > Felix Hartman - Openmtbmap.org & VeloMap.org > Schusterbergweg 32/8 > 6020 Innsbruck > Austria - Österreich > -- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170914/d6e6d151/attachment.html>
- Previous message: [mkgmap-dev] Rule not working consistently
- Next message: [mkgmap-dev] branch expr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list