wfs GetFeature request
Bart van den Eijnden
bartvde at XS4ALL.NL
Tue Dec 21 11:43:30 PST 2004
Hi,
AFAIK this is not implemented, see also:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=675
Although this specific bug is about a HTTP POST request, it references the
same feature which is missing (filtering fields/properties).
Best regards,
Bart
On Tue, 21 Dec 2004 13:41:11 -0600, N Zhou <zhou_naijun at HOTMAIL.COM> wrote:
> Hi,
>
> I try to query and retrieve specific properties of a feature. My URL
> request
> is:
> http://myhost/cgi-bin/mapserv?map=/mymap.map&Service=WFS&version=1.0.0&Request=GetFeature&PROPERTYNAME=water/PID&Typename=water
>
> But I got the full set of properties instead of PID, like the requrest
> without PROPERTYNAME. Could any one tell me what is wrong with the
> request,
> or the .map file?
>
> Thank you very much!
>
> N. Zhou
>
> PS: the DescribeFeatureType returned:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <schema targetNamespace="http://www.ttt.org/myns"
> xmlns:myns="http://www.ttt.org/myns"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified"
> version="0.1">
> <import namespace="http://www.opengis.net/gml"
> schemaLocation="http://www.opengis.net/gml/2.1/feature.xsd" />
> <element name="water" type="myns:water_Type"
> substitutionGroup="gml:_Feature" />
> <complexType name="water_Type">
> <complexContent>
> <extension base="gml:AbstractFeatureType">
> <sequence>
> <element name="MS_GEOMETRY" type="gml:PointPropertyType"
> nillable="false" />
> <element name="PID" type="string" />
> ......
> </sequence>
> </extension>
> </complexContent>
> </complexType>
>
> </schema>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the MapServer-users
mailing list