Hi all

We occasionally make use of CQL in our GeoServer layer definition (in Add a
new layer, the very last option before Save is `Restrict the features on
layer by CQL filter`.

My first question to the GeoServer team is: is this restricted to CQL, or
does it allow ECQL too?  I am assuming that ECQL is supported due to this
statement:

Whenever the documentation refers to CQL, ECQL syntax can be used as well
> (and if not, please report that as a bug!).
> ref:
> https://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html
>


Secondly, more to GeoTools: does CQL, or ECQL, support the use of
comments?

Nothing is mentioned in
https://docs.geoserver.org/stable/en/user/filter/ecql_reference.html

But the ECQL NBF grammar at
https://github.com/geotools/geotools/blob/master/modules/library/cql/ECQL.md
has one reference to:

<separator> ::= { <comment> | <space> | <newline> }...

but no definition of <comment>.  Perhaps that should be removed as the code
at
https://github.com/geotools/geotools/tree/master/modules/library/cql/src/main/jjtree
does not contain any mention of comment.

Thanks

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