WFS and mapserver-4.6.0-beta3

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Jun 2 11:41:07 PDT 2005


Hi,

you need to use the new METADATA at the LAYER level:

   METADATA
     ..
     gml_include_items "all"
     ..
   END

Best regards,
Bart

On Thu, 02 Jun 2005 19:33:37 +0200, Michel Garand <garand at ODRAGIS.ORG>  
wrote:

> Greetings!
>
> I just downloaded the mapserver-4.6.0-beta3 and now testing WMS and WFS
> capabilities.
>
> Here is my problem:
>  With mapserver 4.4.2 - WFS seems to work ok
>
> http://odragis.org/cgi-bin/slubfurt2wms?
> SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=Nodes
>
> with the result:
>
> <schema targetNamespace="http://www.ttt.org/myns"
> elementFormDefault="qualified" version="0.1">
> <import namespace="http://www.opengis.net/gml"
> schemaLocation="http://schemas.opengeospatial.net/gml/2.1.2/feature.xsd"/>
> <element name="Nodes" type="myns:Nodes_Type"
> substitutionGroup="gml:_Feature"/>
> -
> 	<complexType name="Nodes_Type">
> -
> 	<complexContent>
> -
> 	<extension base="gml:AbstractFeatureType">
> -
> 	<sequence>
> <element ref="gml:pointProperty" minOccurs="0"/>
> <element name="oid" type="string"/>
> <element name="elem_id" type="string"/>
> <element name="name" type="string"/>
> <element name="rep_index" type="string"/>
> </sequence>
> </extension>
> </complexContent>
> </complexType>
> </schema>
>
> ######################
>
> and with mapserver-4.6.0-beta3 - WFS seems not to work properly:
>
> http://odragis.org/cgi-bin/slubfurtwms?
> SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=Nodes
>
> with the result:
> <schema targetNamespace="http://www.ttt.org/myns"
> elementFormDefault="qualified" version="0.1">
> <import namespace="http://www.opengis.net/gml"
> schemaLocation="http://schemas.opengeospatial.net/gml/2.1.2/feature.xsd"/>
> <element name="Nodes" type="myns:NodesType"
> substitutionGroup="gml:_Feature"/>
> -
> 	<complexType name="NodesType">
> -
> 	<complexContent>
> -
> 	<extension base="gml:AbstractFeatureType">
> -
> 	<sequence>
> <element name="geometry" type="gml:GeometryPropertyType" minOccurs="0"
> maxOccurs="1"/>
> </sequence>
> </extension>
> </complexContent>
> </complexType>
> </schema>
>
> ##########################
>
> The new version of mapserver doesn't seem to spit out the
>
> 	<sequence>
> <element ref="gml:pointProperty" minOccurs="0"/>
> <element name="oid" type="string"/>
> <element name="elem_id" type="string"/>
> <element name="name" type="string"/>
> <element name="rep_index" type="string"/>
> </sequence>
>
> as in the mapserver 4.4.2 version.
>
> ########################
>
> Any advice?
>
> Thanks in advance for any assistance
>
> Michel
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the MapServer-users mailing list