Dear Brad, 
Thank you very much for your help. The simplified query always worked just 
fine. I checked the logs and I realized that I could get there a more detailed 
error than the one I was getting from JAVA exeption
After googling it, the proplem was that I was adding spaces to the URI rather 
than the special character %20.
Thank you for directin me to the logs, I have not understood that the message 
there could be different to the one I was getting from running the code.
Best regards, Maria. 
 

    Στις 11:34 π.μ. Κυριακή, 8 Ιουλίου 2018, ο/η "[email protected]" 
<[email protected]> έγραψε:
 

 #yiv9356520774 #yiv9356520774 -- _filtered #yiv9356520774 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9356520774 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv9356520774 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv9356520774 
#yiv9356520774 p.yiv9356520774MsoNormal, #yiv9356520774 
li.yiv9356520774MsoNormal, #yiv9356520774 div.yiv9356520774MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:sans-serif;}#yiv9356520774
 a:link, #yiv9356520774 span.yiv9356520774MsoHyperlink 
{color:#0563C1;text-decoration:underline;}#yiv9356520774 a:visited, 
#yiv9356520774 span.yiv9356520774MsoHyperlinkFollowed 
{color:#954F72;text-decoration:underline;}#yiv9356520774 
p.yiv9356520774msonormal0, #yiv9356520774 li.yiv9356520774msonormal0, 
#yiv9356520774 div.yiv9356520774msonormal0 
{margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}#yiv9356520774
 span.yiv9356520774EmailStyle18 
{font-family:sans-serif;color:windowtext;}#yiv9356520774 
.yiv9356520774MsoChpDefault {font-size:10.0pt;} _filtered #yiv9356520774 
{margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv9356520774 
div.yiv9356520774WordSection1 {}#yiv9356520774 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 <[email protected]> 
Sent: Sunday, 8 July 2018 5:11 PM
To: [email protected]
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


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

Reply via email to