I am wanting to make a WFS call, where I can get Geoserver to filter on a column other than FEATURE_ID, is this possible?
In my example, I have a column called Field6 and I just want to bring back those records with an attribute of ‘Private’, not those with an attribute of ‘Public’.
On Tue, Jul 15, 2014 at 5:07 PM, Steven Campbell <s.campbell@anonymised.com>
wrote:
Hi
I am wanting to make a WFS call, where I can get Geoserver to filter on a
column other than FEATURE_ID, is this possible?
In my example, I have a column called Field6 and I just want to bring
back those records with an attribute of ‘Private’, not those with an
attribute of ‘Public’.
Any help is most appreciated
The quickest answer would be to add &CQL_FILTER=Field6='Private' to your
GetFeature URL
Cheers
Andrea
--
GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information.
Ing. Andrea Aime @geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549