[ 
http://jira.codehaus.org/browse/GEOT-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mauricio Pazos reopened GEOT-1162:
----------------------------------


I comment with Gabriel and Andrea the most natural ";" delimiter, and  we agree 
to do the change now.

> Allow CQL Parser to parse a list of filters separated by a delimiter character
> ------------------------------------------------------------------------------
>
>                 Key: GEOT-1162
>                 URL: http://jira.codehaus.org/browse/GEOT-1162
>             Project: GeoTools
>          Issue Type: New Feature
>          Components: new modules
>    Affects Versions: 2.3.1, 2.4.M0
>            Reporter: Gabriel Roldán
>            Assignee: Mauricio Pazos
>             Fix For: 2.3.1, 2.4.M0
>
>
> GeoServer needs to parse a list of filters from a CQL_FILTER kvp parameter in 
> order to apply each one to a layer in the order of appearance in the LAYERS 
> kvp parameter.
>  For exaple:
> {{attr1 > 5|attr2 between 1 and 7| attr3 = 'text|with|delimiter'}} should be 
> parsed to a {{List}} with the three different Fitlers. It would be far easier 
> to instruct the javacc parser to do that than doing it at the GeoServer side 
> 'by hand'.
> ---------
> The requirement from Andrea:
> the WSF filter spec uses ( and ) to separate OGC filters in a get
> request. I'm looking for a separator for CQL. It seems [ and ] would do?
> What I need to do is to parse something like:
> {{CQL_FILTER=[A + B < 10][ATT1 = "Gimbo"]}}
> or
> {{CQL_FILTER=A + B < 10|ATT1 = "Gimbo"}}
> into two separate filters. Does CQL have the concept of a filter list?
> I need to pick up a character that has low likeliness of interfering
> with the CQL itself, since our way to split OGC filters is to use
> a lame StringTokenizer, that can't really manage nesting

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to