[mkgmap-dev] Comparisons in Style-File
From Chris66 chris66nrw at gmx.de on Sun Sep 4 21:33:00 BST 2011
Am 04.09.2011 17:10, schrieb Steve Ratcliffe: >> # dont works!! >> highway=*& (maxheight < 3.5) {add goods=no; add delivery=no} >> highway=*& (maxweight < 7.5) {add goods=no; add delivery=no} > > I have a patch for this, it wasn't as involved as I expected. > > However (and this is probably why it wasn't done to begin with) equality > is still always string based and never numeric. But '<' and '>' are always numeric based ? What happens if the value contains letters like unit-of-measure ? Are letters deleted and then the compare takes place? So: 3.5t < 4 yes abc5 < 4 no ? Chris
- Previous message: [mkgmap-dev] Comparisons in Style-File
- Next message: [mkgmap-dev] Comparisons in Style-File
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list