Here is an interesting WFS behavior change between 1.7.6 and 2.1 latest
nightly build:

This is the WFS query:

<wfs:GetFeature service="WFS" version="1.1.0" xmlns:wfs="
http://www.opengis.net/wfs"; xmlns:ogc="http://www.opengis.net/ogc";
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:ogi="
http://ogi.state.ok.us";>
  <wfs:Query typeName="ogi:ok_counties">
    <wfs:PropertyName>name</wfs:PropertyName>
    <wfs:PropertyName>cntyidfp</wfs:PropertyName>
  </wfs:Query>
</wfs:GetFeature>

In 1.7.6 it returns features like this:

<ogi:ok_counties gml:id="ok_counties.2">
  <gml:name>Jackson</gml:name>
  <gml:boundedBy>
    <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
      <gml:lowerCorner>34.337762 -99.844585</gml:lowerCorner>
      <gml:upperCorner>34.859556 -99.037094</gml:upperCorner>
    </gml:Envelope>
  </gml:boundedBy>
  <ogi:cntyidfp>40065</ogi:cntyidfp>
  <ogi:name>Jackson</ogi:name>
</ogi:ok_counties>

But in 2.1, returns this: notice that ogi:name is not returned, even though
it was requested by the query.

<ogi:ok_counties gml:id="ok_counties.2">
  <gml:name>Jackson</gml:name>
  <gml:boundedBy>
    <gml:Envelope srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
      <gml:lowerCorner>34.337762 -99.844585</gml:lowerCorner>
      <gml:upperCorner>34.859556 -99.037094</gml:upperCorner>
    </gml:Envelope>
  </gml:boundedBy>
  <ogi:cntyidfp>40065</ogi:cntyidfp>
</ogi:ok_counties>

Thanks in advance for any insight into this,

Roger
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to