[OpenLayers-Users] Problems adding polygon data from GML

David Alda Fernandez de Lezea dalda at ikt.es
Wed Nov 4 03:44:12 EST 2009


Thanks, at least I have a refutated information. Now I know it, and the next time I hope not to make the same mistake, but I still don't understand why two weeks ago worked, and yesterday it didn't. Anyway, from now on I'll follow the specifications more accuratelly. Thanks.


 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································

-----Mensaje original-----
De: Roald de Wit [mailto:roald.dewit at lisasoft.com] 
Enviado el: miércoles, 04 de noviembre de 2009 9:32
Para: David Alda Fernandez de Lezea
CC: users at openlayers.org
Asunto: Re: [OpenLayers-Users] Problems adding polygon data from GML

Hi David,

David Alda Fernandez de Lezea wrote:
> Is there anything here that makes you know that the response of the WFS Service is in GML v3?
>
> How can you specify it in the map file?
>
> The getFeature request I use is this:
>
> http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wfs.
> map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&MAXFEATURES=1000&EXCE
> PTIONS=application/vnd.ogc.se_xml&TYPENAME=RecintosSigpac&FILTER=<Filt
> er><PropertyIsEqualTo><PropertyName>GID</PropertyName><Literal>125</Li
> teral></PropertyIsEqualTo></Filter>
>   

Your WFS request has version 1.1.0. That implies that you receive GML v3 output. See this document: [1] for some differences between 1.0 and 1.1.
If you were to specify your request to be 1.0, you would get GML v2 back!

[1] https://www.e-education.psu.edu/geog585/l3_p9.html

Regards, Roald



More information about the Users mailing list