WFS DescribeFeatureType in mapserv4.6
Tomas Novotny
tomas.novotny at TMAPY.CZ
Tue Aug 30 05:27:46 PDT 2005
That's it!
Thank you really much Bart
Bart van den Eijnden wrote:
>Use gml_include_items "all" in your LAYER's METADATA section.
>
>Bart
>
>Bart van den Eijnden
>Syncera IT Solutions
>Postbus 270
>2600 AG DELFT
>
>tel.nr.: 015-7512436
>email: BEN at Syncera-ITSolutions.nl
>
>
>
>>>>Tomas Novotny <tomas.novotny at TMAPY.CZ> 08/30/05 1:44 pm >>>
>>>>
>>>>
>Hi all,
>
>after I moved from MapServer 4.4.1 to 4.6.0 I have problem using WFS DescribeFeatureType request.
>I normally used mapserv 4.4.1 for getting information about layer attributes. But 4.6.0 returns no attribute information at all.
>
>Here are examples that ilustrate my problem:
>
>DescribeFeatureType response on 4.4.1:
>
>
><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="vodni_plochy" type="myns:vodni_plochy_Type"
>substitutionGroup="gml:_Feature"/>
> <complexType name="vodni_plochy_Type">
> <complexContent>
> <extension base="gml:AbstractFeatureType">
> <sequence>
><element ref="gml:polygonProperty" minOccurs="0"/>
><element name="AREA" type="string"/>
><element name="VODY_ID" type="string"/>
><element name="TYP_VPL" type="string"/>
><element name="NAZEV" type="string"/>
></sequence>
></extension>
></complexContent>
></complexType>
></schema>
>
>And DescribeFeatureType response on 4.6.0 (with the same data source):
>
>
><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="vodni_plochy" type="myns:vodni_plochyType"
>substitutionGroup="gml:_Feature"/>
><complexType name="vodni_plochyType">
><complexContent>
><extension base="gml:AbstractFeatureType">
><sequence>
><element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0"
>maxOccurs="1"/>
></sequence>
></extension>
></complexContent>
></complexType>
></schema>
>
>Maybe the problem is in bad compilation.
>I will appreciate every reaction.
>
>Tomas
>
>
>
More information about the MapServer-users
mailing list