Re: [Geoserver-users] problem with cql_filter "id in(...)"

2018-03-08 Thread Andrea Aime
I'm afraid it is not documented (pull request welcomed*), but see here: https://github.com/geotools/geotools/blob/72fc9c6957523db35c4c6b0348ef036f5c875157/modules/library/cql/src/main/jjtree/ECQLGrammar.jjt#L156 https://github.com/geotools/geotools/blob/72fc9c6957523db35c4c6b0348ef036f5c875157/modu

Re: [Geoserver-users] problem with cql_filter "id in(...)"

2018-03-08 Thread Jason Newmoyer
I figured something like that. Can you share a reference for that? I know I went looking and couldn't find anything. Jason Newmoyer Newmoyer Geospatial Solutions 843.606.0424 ja...@newmoyergeospatial.com On Thu, Mar 8, 2018 at 10:18 AM, Andrea Aime wrote: > Hi, > id, unquoted, is a keyword i

Re: [Geoserver-users] problem with cql_filter "id in(...)"

2018-03-08 Thread Andrea Aime
Hi, id, unquoted, is a keyword in CQL, not an attribute name :) Cheers Andrea On Thu, Mar 8, 2018 at 4:08 PM, Jason Newmoyer wrote: > Ran into this same issue, but with WMS. For me, quoting "id" in the CQL > made it work. This doesn't seem to be required for other fields in the same > table. So

Re: [Geoserver-users] problem with cql_filter "id in(...)"

2018-03-08 Thread Jason Newmoyer
Ran into this same issue, but with WMS. For me, quoting "id" in the CQL made it work. This doesn't seem to be required for other fields in the same table. So maybe just something special for ones named "id" Jason Newmoyer Newmoyer Geospatial Solutions 843.606.0424 ja...@newmoyergeospatial.com

Re: [Geoserver-users] problem with cql_filter "id in(...)"

2018-03-07 Thread Walter Nordmann
got it. after setting "id" to be the primary key, the query is returning results. regards walter Am 07.03.2018 um 19:31 schrieb Walter Nordmann: Hi still using geoserver 2.8 i'm trying to get some polygons calling my local GeoServer using javascript and ajax. doing this call   

[Geoserver-users] problem with cql_filter "id in(...)"

2018-03-07 Thread Walter Nordmann
Hi still using geoserver 2.8 i'm trying to get some polygons calling my local GeoServer using javascript and ajax. doing this call    data: {    service : "WFS",    version : "1.1.0",     request : "GetFeature",   outputForm