In order to simplify my CSS I'm trying to use if_then_else functions to
label my data.
The following code works fine:

*{

label:[if_then_else(equalTo(LOWERLIMITUNIT,'FT'),strConcat(strConcat(LOWERLIMIT,''),LOWERLIMITUNIT)
,strConcat(strConcat(LOWERLIMITUNIT,''),LOWERLIMIT))];
}

But if I try to use 'isLike' instead of 'equalTo' it doesn't work.
There is no validation error, but the data is not evaluated correctly.

The following code doesn't work:

*{
   label: [if_then_else(isLike(IDENT,'%FPL%'),LOWERLIMITUNIT, IDENT)];
}

Thanks for any help!
Michaela
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to