|
I have been attempting to use ECQL expressions in an app-schema mapping
file, but am having trouble with the syntax. The link given in the Geoserver manual http://udig.refractions.net/confluence/display/EN/Common+Query+Language is broken. The only ECQL reference I have been able to find is http://docs.codehaus.org/display/GEOTOOLS/ECQL+Parser+Design#ECQLParserDesign-ECQLGrammar which does not give a list of functions. The pages http://docs.geoserver.org/stable/en/user/data/app-schema/mapping-file.html#cql and http://docs.geoserver.org/stable/en/user/data/app-schema/vocab-functions.html#app-schema-vocab-functions give examples of two functions, and hint at the existence of a third, "if_then_else", which is the one I think I want. Guessing at the syntax is not working- I get "Can't parse complex datastore config."- for things like the following <OCQL>if_then_else(CAT_DESC<>'No Name', CAT_DESC, NULL)</OCQL> Can anyone provide a link to a ECQL reference or some additional examples? Thanks, Tara |
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
