[gdal-dev] Ogr2ogr, WFS 1.1.0, -spat and gml:Box

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Mon Jan 2 10:39:17 EST 2012


Hi,

Ogr2ogr WFS driver seems to create this kind of request when I use it with -spat
option

GET
http://server.org/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lv:type_name&FILTER=%3CFilter%20xmlns=%22http://www.opengis.net/ogc%22%20xmlns:lv=%22http://lv.org/%22%20xmlns:gml=%22http://www.opengis.net/gml%22%3E%3CBBOX%3E%3CPropertyName%3Elv:the_geom%3C/PropertyName%3E%3Cgml:Box%3E%3Cgml:coordinates%3E2539023.0000000000000000,6677580.0000000000000000%202554679.0000000000000000,6689397.0000000000000000%3C/gml:coordinates%3E%3C/gml:Box%3E%3C/BBOX%3E%3C/Filter%3E

So it is WFS 1.1.0 request with the BBOX filter. But is it OK to give BBOX as
GML2 gml:Box if the service is WFS version 1.1.0? I have been thinking it should
be using GML3 and gml:Envelope instead.


-Jukka Rahkonen-




More information about the gdal-dev mailing list