Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to WFS and am trying to create a filter to get all the features that have their basename = "XYZ". The structure of a single record is as:

        <core:AdminPlace gml:id="ADMN_21493454">

I am trying to use the XML iput for POST to WFS as:

<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="1.0.0"
   <wfs:Query typeName="tns:AdminPlace">
    <ogc:Filter xmlns:ogc="" xmlns:gml="">

but I am not able to get the result. The error message thrown is : There was an error processing the event:GetFeatureException: Error while retrieving features: could not resolve property: featureNames.featureName.

Thanks in advance.

share|improve this question
Have you tried if the filters are case sensitive? – underdark Nov 12 '12 at 8:59
yes I have tried that, if I change the case of any of the attributes it gives me an error like "Error while trying to validate Filter: Name 'featurenames' is not globaly defined in the namespace" – Suhail Nov 12 '12 at 9:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.