[Geoserver-users] WFS GetFeature - problem selecting subset of properties

Hello,

I am relatively new to Geoserver, and am attempting create a basic
(non-transactional) WFS that uses an Oracle datastore. Note that this is
not Oracle Locator or Oracle Spatial, just a plain old table. I've set up
the server itself (v. 1.3.4a) as well as the various data and FeatureType
configurations, and can successfully perform GetCapabilities,
DescribeFeatureType, and some GetFeature requests. However, I am having
the same problem noted below by F. Zuriaga (geoserver-users, msg
id=12353586), namely that the response always includes ALL properties,
regardless of whether I ask for specific ones or not. I've studied the
OGC-WFS spec document, and am pretty sure my requests are formatted
correctly. For example:

<?xml version="1.0" ?>
<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="GML2"
  xmlns:uvfac="http://facility.unavco.org/geo&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="uvfac:MONUMENT">
    <wfs:PropertyName>uvfac:STATION_CODE</wfs:PropertyName>
    <ogc:Filter>
       <PropertyIsGreaterThan>
                <PropertyName>LAT</PropertyName>
                <Literal>38</Literal>
       </PropertyIsGreaterThan>
    </ogc:Filter>
  </wfs:Query>
</wfs:GetFeature>

Could someone point me in the right direction to a solution? I feel like
I am missing something pretty basic here...I've experienced the same
behavior on two separate installations - both version 1.3.4a of Geoserver:

-binary distribution (w/ Jetty) on Solaris 5.9 (Java 1.4.2_08-b03)
-WAR distribution deployed under Tomcat 5.5.17 on a Windows XP SP1 box
(Java 1.5.0_08).

I work for a non-profit geophysics consortium (www.unavco.org) that is
trying to share some services with the community, and like what I see so
far from the Geoserver project. I'm hoping to resolve this issue and move
forward...

Thanks,
Christopher Stolte

Hello, I have a problem with the DateTime format. I use a postgis data
base,
and the table has a DateTime field. But I don"t want to receibe this
attribute.
The problem is that I can"t select the attributes of features to
receibe,
WFS always send ALL attributes for the features.

<?xml version="1.0" encoding="UTF-8"?>
<GetFeature xmlns="http://www.opengis.net/wfs&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot; version="1.0.0" service="WFS"
outputFormat="GML2">
<Query typeName="elFerGis:usuarios">
<ogc:PropertyName>elFerGis:nombre</ogc:PropertyName>
<ogc:PropertyName>elFerGis:dinero</ogc:PropertyName>
<ogc:PropertyName>elFerGis:password</ogc:PropertyName>
</Query>
</GetFeature>

Thanks in advanced:
F.Zuriaga

--
Christopher Stolte | Software Developer
UNAVCO, Inc. 6350 Nautilus Dr. Boulder, CO
303-381-7483