logo separator

[mkgmap-dev] Error in my style with Version mkgmap-r4136

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Mar 22 10:40:24 GMT 2018

Hi lasemax,

this seems to be an error in mkgmap. It doesn't print this message when you change the line 179 to
name:en=$name:de  & mkgmap:admin_level2!=DEU { set name='${name:en}' }

I think it should handle both rules in the same way, but it doesn't.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von lasemax <lasemax at byom.de>
Gesendet: Donnerstag, 22. März 2018 09:32:36
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Error in my style with Version mkgmap-r4136

Who can help me.
Since Version mkgmap-r4136 i get a error with my style.
Error in style: Error: (points:179): Invalid rule expression:
$mkgmap:admin_level2!=DEU & $name:en=$name:de

The error is in Line 179 and this is the code before and after error:
176: # Naming
177: mkgmap:admin_level2=DEU & name:de=* { set name='${name:de}' }
178: mkgmap:admin_level2!=DEU & name:en=* { set name='${name:en}
(${name:de})' }
179: mkgmap:admin_level2!=DEU & name:en=$name:de { set name='${name:en}' }
180: mkgmap:admin_level2!=DEU & name:de=* & name:en!=* & name!=$name:de {
set name='${name} ${name:de})' }


With my last Version mkgmap-r4125 is all ok and this code works.




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