Opened 16 years ago

Last modified 14 years ago

#2445 new defect

Add a mechanism to support gml:_geometryProperty for a WFS 1.0.0 server

Reported by: nsavard Owned by: mapserverbugs
Priority: normal Milestone: 6.0 release
Component: WFS Server Version: 5.0
Severity: normal Keywords: OGC, Cite, TEAM, WFS 1.0.0
Cc: tomkralidis

Description

The following gml geometry properties need to be supported by a WFS 1.0.0 server:

pointProperty, polygonProperty,lineStringProperty, multiPointProperty,multiLineStringProperty and multiPolygonProperty.

Change History (8)

in reply to:  description comment:1 by nsavard, 16 years ago

Replying to nsavard:

The following gml geometry properties need to be supported by a WFS 1.0.0 server:

pointProperty, polygonProperty,lineStringProperty, multiPointProperty,multiLineStringProperty and multiPolygonProperty.

These elements are described in http://schemas.opengis.net/gml/2.1.2/feature.xsd.

comment:2 by dmorissette, 16 years ago

Milestone: 5.2 release

We need to make it possible to specify that the geometry is using one of the predefined properties from the GML 2.1.2 feature.xsd schema by referring to the GML schema definition and using the property in the 'gml:...' namespace instead of defining a new property in the namespace of the MapServer WFS service.

DescribefeatureType should return ref="gml:pointProperty" as in the following example from the OGC CITE WFS 1.0.0 test suite's datafeature.xsd :

<xsd:complexType name="OtherFeatureType">
   <xsd:complexContent>
     <xsd:extension base="gml:AbstractFeatureType">
       <xsd:sequence>
         <xsd:element ref="gml:pointProperty" minOccurs="0"/>
         <xsd:element name="string1" type="xsd:string"/>
         <xsd:element name="string2" type="xsd:string" minOccurs="0"/>
         <xsd:element name="integers" type="xsd:integer" minOccurs="0"/>
         <xsd:element name="dates" type="xsd:date" minOccurs="0"/>
       </xsd:sequence>
     </xsd:extension>
   </xsd:complexContent>
 </xsd:complexType>

and GetFeature should return this property as:

     <gml:pointProperty>
       <gml:Point srsName="EPSG:32615">
         <gml:coordinates>500050.000000,500050.000000</gml:coordinates>
       </gml:Point>
     </gml:pointProperty>

comment:3 by nsavard, 16 years ago

Keywords: OGC Cite TEAM WFS 1.0.0 added

comment:4 by tomkralidis, 16 years ago

Cc: tomkralidis added

comment:6 by dmorissette, 16 years ago

Milestone: 5.2 release5.4 release

comment:7 by dmorissette, 15 years ago

Milestone: 5.4 release6.0 release

comment:8 by nsavard, 14 years ago

The same issue occurs with WFS 1.1.0 in the test: <ctl:test name="wfs:readiness-tests">

The post request is:

   Method: POST
   URL: http://dev1.lan.mapgears.com/manwe/cgi-bin/mswfs110_ogc_cite?
   Body: 
<wfs:GetFeature xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ctl="http://www.occamlab.com/ctl"
                xmlns:gml="http://www.opengis.net/gml"
                xmlns:myparsers="http://teamengine.sourceforge.net/parsers"
                xmlns:ows="http://www.opengis.net/ows"
                xmlns:p="http://teamengine.sourceforge.net/parsers"
                xmlns:parsers="http://www.occamlab.com/te/parsers"
                xmlns:saxon="http://saxon.sf.net/"
                xmlns:sf="http://cite.opengeospatial.org/gmlsf"
                xmlns:te="http://www.occamlab.com/te"
                xmlns:tec="java:com.occamlab.te.TECore"
                xmlns:wfs="http://www.opengis.net/wfs"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                service="WFS"
                version="1.1.0">
   <wfs:Query typeName="sf:PrimitiveGeoFeature"/>
</wfs:GetFeature>


The result is:

Invalid content was found starting with element 'cgf:PrimitiveGeoFeature'. One of '{"http://www.opengis.net/gml":_Feature}' is expected.

Note: See TracTickets for help on using tickets.