Hi,
I know that WFS 1.0.0 is having GML2 as a default outputformat and 1.1.0
is using text/xml; subtype=gml/3.1.1. But how it is with the input,
should the gml used if filters use the same versions? I thought I can
find it by studying the Geoserver demo requests but they are ambiguous.
WFS_getFeatureBBOX-1.0.xml is using
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-75.102613,40.212597
-72.361859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
WFS_getFeatureBBOX-1.1.xml is using
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Envelope
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:lowerCorner>-75.102613 40.212597</gml:lowerCorner>
<gml:upperCorner>-72.361859 41.512517</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
This looks logical, WFS 1.0.0=GML2, WFS 1.1.0=GML3. But then
WFS_getFeatureIntersects-1.0.xml
<Intersects>
<PropertyName>the_geom</PropertyName>
<gml:Point
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-74.817265,40.5296504</gml:coordinates>
</gml:Point>
</Intersects>
WFS_getFeatureIntersects-1.1.xml
<Intersects>
<PropertyName>the_geom</PropertyName>
<gml:Point
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-74.817265,40.5296504</gml:coordinates>
</gml:Point>
</Intersects>
Both the 1.0.0 and 1.1.0 demo requests are giving the_geom as GML2. Does
it mean that both GML2 and GML3 are equally acceptable in the WFS
filters? However, I am pretty sure that using gml:Box in WFS 1.1.0 has
been doomed forbidden because GML3 does not define Box. Then why
gml:coordinates are still accepted?
-Jukka Rahkonen-
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users