Good Morning List,
I’m still trying to understand the Axis order issue. I read the article:
http://geoserver.org/display/GEOSDOC/2.+WFS±+Web+Feature+Service"
and this stands out:
“A fully compliant WFS 1.1 client will have to deal with latitude/longitude axis”
Well, then, two things:
- The ArcGIS 1.1 client isn’t/doesn’t - 1.1 requests are rotated 90 degrees, 1.0 are not.
- The second is that it appears that the OGR-SHP exporter doesn’t either, either that, or I just don’t understand.
For example (you can try this at home…), this request works fine, while the second does not. (the second is rotated 90 degrees). Shouldn’t the OGR-SHP exporter “deal” with the axis issue properly in all cases (including 4326)? Note that I’m using the "srsName=“urn:x-ogc:def:crs:EPSG:XXXX” syntax. The two are identical except for the wfs:Query srsName.
This was tried using the latest nightly build, the server is: http://ogi.state.ok.us/geoserver/wfs
The wfs requests are:
<wfs:GetFeature service=“WFS” version=“1.1.0” outputFormat=“OGR-SHP-ZIP” xmlns:ogi=“http://ogi.state.ok.us/ogi” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:wfs=“http://www.opengis.net/wfs” xmlns:gml=“http://www.opengis.net/gml”>
<wfs:Query typeName=“ogi:streams” srsName=“urn:x-ogc:def:crs:EPSG:26914”>
ogc:Filter
ogc:Intersects
ogc:PropertyNamethe_geom</ogc:PropertyName>
<gml:Polygon srsName=“urn:x-ogc:def:crs:EPSG:4326” xmlns:gml=“http://www.opengis.net/gml”>
gml:exterior
gml:LinearRing
gml:posList35.500060288095455 -97.50031670710655 35.50006091966824 -97.37531323186303 35.37506446382955 -97.37531129982791 35.375057994022875 -97.50031488896217 35.500060288095455 -97.50031670710655</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
and
<wfs:GetFeature service=“WFS” version=“1.1.0” outputFormat=“OGR-SHP-ZIP” xmlns:ogi=“http://ogi.state.ok.us/ogi” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:wfs=“http://www.opengis.net/wfs” xmlns:gml=“http://www.opengis.net/gml”>
<wfs:Query typeName=“ogi:streams” srsName=“urn:x-ogc:def:crs:EPSG:4326”>
ogc:Filter
ogc:Intersects
ogc:PropertyNamethe_geom</ogc:PropertyName>
<gml:Polygon srsName=“urn:x-ogc:def:crs:EPSG:4326” xmlns:gml=“http://www.opengis.net/gml”>
gml:exterior
gml:LinearRing
gml:posList35.500060288095455 -97.50031670710655 35.50006091966824 -97.37531323186303 35.37506446382955 -97.37531129982791 35.375057994022875 -97.50031488896217 35.500060288095455 -97.50031670710655</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Thanks for your help!
Roger