I have asked this before but probably should have provided more information. Please find below the data returned by the service.<br>I need to get hold on ‘geometria’, ‘nombre’ and ‘provincia’. So far, either with or without prefix, in lower case or camelcase I always get back a ‘ property name xxx could not be resolved’.<br><br>Hi list,<br>I have a particular WFS layer here which is giving me trouble and I need some help on identifying the correct geometryName and the filter property.<br><br>It’s gazetteer service and I want to apply comparison filters eventually. <br><br>var myFilter = new OpenLayers.Filter.Comparison({<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: "~",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; property: "nombreEntidad", //no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value: "Madrid" <br>});<br><br><br>So far I’ve managed to display points on my map using Strategy.Fixed without any filter:&nbsp; <br><br>var myLayer = new OpenLayers.Layer.Vector( "my title",&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; strategies: [new OpenLayers.Strategy.Fixed()],<br>&nbsp;&nbsp; protocol: new OpenLayers.Protocol.WFS({<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url: "http://www.idee.es/IDEE-WFS-Nomenclator-NGC/services?",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; featureType: 'Entidad', <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; featurePrefix: 'mne',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; featureNS :&nbsp; "http://www.idee.es/mne",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; readFormat: new OpenLayers.Format.GML(),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srsName: "EPSG:4230",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version: '1.1.0',&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxFeatures: 10,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extractAttributes: true<br>&nbsp;&nbsp; }),<br>&nbsp;&nbsp; projection: new OpenLayers.Projection("EPSG:4230"),<br>&nbsp;&nbsp; // filter: myFilter;<br>});<br><br>I tried setting the filter property to "nombre" or "nombreEntidad" – with and without prefix, but no luck. ("PropertyName " nombreEntidad" cannot be resolved”).<br>For applying any spatial filters or just the BBOX strategy I’d have to indicate additionally the geometryName which I haven’t figured out either.<br><br>Besides, I can select features but the attribute values are null (feature.attributes have the expected keys but their values are null). <br><br>Does anybody have a clue? I could post some XML if it’s of help.<br><br>I’d also like to know if there is any difference in terms of performance between <br>1) filterStrategy, 2) filter, and 3) style with a rule and a filter. I guess the third option is slowest but what about the other 2 options?<br><br>Best regards<br><br>Any advice would be highly appreciated. Here comes the string of one point:<br><br>&lt;wfs:FeatureCollection numberOfFeatures='1' xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mne="http://www.idee.es/mne" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.idee.es/mne http://www.idee.es:80/IDEE-WFS-Nomenclator-NGC/services?SERVICE=WFS&amp;amp;VERSION=1.1.0&amp;amp;REQUEST=DescribeFeatureType&amp;amp;TYPENAME=mne:Entidad&amp;amp;NAMESPACE=xmlns(mne=http://www.idee.es/mne) http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"&gt;&lt;gml:boundedBy&gt;&lt;gml:Envelope srsName='EPSG:4230'&gt;&lt;gml:pos srsDimension='2'&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;gml:pos srsDimension='2'&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;/gml:Envelope&gt;&lt;/gml:boundedBy&gt;&lt;gml:featureMember&gt;&lt;mne:Entidad gml:id="ES.IGN.NGC_1018"&gt;&lt;gml:boundedBy&gt;&lt;gml:Envelope srsName='EPSG:4230'&gt;&lt;gml:pos srsDimension='2'&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;gml:pos srsDimension="2"&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;/gml:Envelope&gt;&lt;/gml:boundedBy&gt;&lt;mne:nombreEntidad&gt;&lt;mne:NombreEntidad gml:id="ES.IGN.NGC_1018.GM2TENQ171644"&gt;&lt;mne:nombre&gt;Sierra Chimorra&lt;/mne:nombre&gt;&lt;mne:idioma&gt;spa&lt;/mne:idioma&gt;&lt;mne:claseNombre&gt;preferente&lt;/mne:claseNombre&gt;&lt;mne:estatus&gt;oficial&lt;/mne:estatus&gt;&lt;mne:fuente&gt;1:1 millón: Mapa de la Península Ibérica, Baleares y Canarias, escala 1:1.000.000. Instituto Geográfico Nacional, 2000&lt;/mne:fuente&gt;&lt;/mne:NombreEntidad&gt;<br><br>&lt;/mne:nombreEntidad&gt;&lt;mne:tipoEntidad&gt;&lt;mne:TipoEntidad gml:id="ES.IGN.NGC.TP.J5JE6R2S171644"&gt;&lt;mne:tipo&gt;OROGR&lt;/mne:tipo&gt;&lt;mne:catalogoEntidades&gt;URL:http://www.idee.es/show.do?to=pideep_conciso.ES&lt;/mne:catalogoEntidades&gt;&lt;/mne:TipoEntidad&gt;<br><br>&lt;/mne:tipoEntidad&gt;&lt;mne:tipoEntidad&gt;&lt;mne:TipoEntidad gml:id="ES.IGN.NGC.TP.KNUWK4TSME171644"&gt;&lt;mne:tipo&gt;Sierra&lt;/mne:tipo&gt;&lt;mne:catalogoEntidades&gt;URL:http://www.idee.es/show.do?to=pideep_conciso.ES&lt;/mne:catalogoEntidades&gt;&lt;/mne:TipoEntidad&gt;<br><br>&lt;/mne:tipoEntidad&gt;&lt;mne:posicionEspacial&gt;&lt;mne:PosicionEspacial gml:id="ES.IGN.NGC.PS.GEYDKNBUHA171644"&gt;&lt;gml:boundedBy&gt;&lt;gml:Envelope srsName='EPSG:4230'&gt;&lt;gml:pos srsDimension='2'&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;gml:pos srsDimension="2"&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;&lt;/gml:Envelope&gt;&lt;/gml:boundedBy&gt;&lt;mne:geometria&gt;&lt;gml:Point srsName="EPSG:4230"&gt;<br><br>&lt;gml:pos srsDimension="2"&gt;-4.9 38.2333333333333&lt;/gml:pos&gt;<br><br>&lt;/gml:Point&gt;&lt;/mne:geometria&gt;&lt;/mne:PosicionEspacial&gt;<br><br>&lt;/mne:posicionEspacial&gt;&lt;mne:entidadLocal&gt;&lt;mne:EntidadLocal gml:id="ES.IGN.NGC.EL.IPZXEZDPMJQQ171644"&gt;&lt;mne:comunidadAutonoma&gt;Andalucía&lt;/mne:comunidadAutonoma&gt;&lt;mne:provincia&gt;Córdoba&lt;/mne:provincia&gt;&lt;/mne:EntidadLocal&gt;<br><br>&lt;/mne:entidadLocal&gt;&lt;mne:codificacion&gt;&lt;mne:Codificacion gml:id="ES.IGN.NGC.CO.NGC_1018171644"&gt;&lt;mne:codigo&gt;NGC_1018&lt;/mne:codigo&gt;&lt;mne:sistemaCodificacion&gt;Nomenclátor Geográfico Conciso 1.0. Instituto Geográfico Nacional&lt;/mne:sistemaCodificacion&gt;&lt;/mne:Codificacion&gt;<br><br>&lt;/mne:codificacion&gt;&lt;mne:mapa&gt;&lt;mne:Mapa gml:id="ES.IGN.NGC.MA.JVKE4NJQ.GA4DQMA171644"&gt;&lt;mne:serie&gt;MTN50&lt;/mne:serie&gt;&lt;mne:hoja&gt;0880&lt;/mne:hoja&gt;&lt;/mne:Mapa&gt;<br><br>&lt;/mne:mapa&gt;&lt;/mne:Entidad&gt;<br><br>&lt;/gml:featureMember&gt;&lt;/wfs:FeatureCollection&gt;