Perhaps you can see something in the logs? Its obviously a pretty difficult 
case to replicate here, but have you tried simplifying the query (e.g. just the 
id part).

 

Brad

 

From: Maria Krommyda via Geoserver-users 
<geoserver-users@lists.sourceforge.net> 
Sent: Sunday, 8 July 2018 5:11 PM
To: Geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] CQL filter with multiple parameters

 

Dear all, 

 

I have been trying for a couple days now to solve a very frustrating issue and 
I am hoping that you can provide me with some help. 

 

I have set up Geoserver over an Accumulo datastore, when creating the layer I 
can see all the parameters and when I download all the dataset as one JSON 
file, I have no issues at all. 

 

My issues start when I try to add the &cql_filter. 

 

I want to query two of the parameters at once, so I do 
(working_uri_that_gives_all_data_as_json)&cql_filter=(Data_col<'03/21//2018' 
and id=2)

 

When I try this URI from my web-browser only the first restriction is taken 
into account, and when I try to sent it from JAVA as an HTTP request I get a 
URI malformed error. 

 

I have tried adding single quotes around all the elements, adding or 
eliminating spaces between words, and anything else that could cross my mind 
but nothing seems to be working. 

 

I have full control over the format of the URI so I can replace anything with 
the corresponding special character if that would help. 

 

I am not sure if I am making an obvious mistake or not, but I would be greatful 
for any help.

 

Best regards, 

Maria. 

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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to