From a wms service I know its url and a layer name called: CATAST_Pol_Municipio


I need to apply a cql_filter on a GetMap request on that layer, filtering by national cadastral reference. Tried cql_filter=nationalCadastralReference=xxxxxxxx but it says that there is no property with nationalCadastralReference name.

Rendering process failed PropertyDescriptor is null - did you request a property that does not exist?

How can I know the wms properties that I can filter the request with?


There are two possible solutions to this:

  1. Ask the related WFS for a description of the featureType using https://idena.navarra.es/ogc/wfs?request=DescribeFeatureType&typeName=CATAST_Pol_Municipio&version=1.1.0 which returns:

       <xsd:extension base="gml:AbstractFeatureType">                            
           <xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:MultiSurfacePropertyType"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="FEATURE" nillable="true" type="xsd:int"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="CMUNICIPIO" nillable="true" type="xsd:long"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="MUNICIPIO" nillable="true" type="xsd:string"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="MUNINOAC" nillable="true" type="xsd:string"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="GEOM_AREA" nillable="true" type="xsd:double"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="GEOM_PERI" nillable="true" type="xsd:double"/>
           <xsd:element maxOccurs="1" minOccurs="0" name="BEGINLIFE" nillable="true" type="xsd:string"/>
     </xsd:complexContent>                                                          </xsd:complexType>

  2. Ask for a feature using GetFeatureInfo and look at the returned attributes:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.