[mapserver-users] WFS - DescribeFeatureType

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Mar 12 05:25:18 EDT 2008


It's because Mapserver can't know, without scanning the whole dataset, if it
is multipolygon or polygon for instance.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: guillaume.sueur at neogeo-online.net
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: mapserver-users at lists.osgeo.org
Onderwerp: Re: [mapserver-users] WFS - DescribeFeatureType
Datum: 12/03/08 07:23

> Thanks Bart !
> As I can see, I need to set myself the geometry type, as I do it already 
> in the TYPE attribute of the LAYER.
> 
> Do you know why ?
> 
> Thanks,
> 
> Bart van den Eijnden (OSGIS) a écrit :
> &gt; Hi Guillaume,
> &gt; 
> &gt; yes there is:
> &gt; 
> &gt;         &quot;GML_GEOMETRY_TYPE&quot;     &quot;multipolygon&quot;
> &gt;         &quot;GML_GEOMETRIES&quot;        &quot;geometry&quot;
> &gt; 
> &gt; Best regards,
> &gt; Bart
> &gt; 
> &gt; --
> &gt; Bart van den Eijnden
> &gt; OSGIS, Open Source GIS
> &gt; http://www.osgis.nl
> &gt; 
> &gt; 
> &gt; --------- Oorspronkelijk bericht --------
> &gt; Van: guillaume.sueur at neogeo-online.net
> &gt; Naar: mapserver-users at lists.osgeo.org
&lt;mapserver-users at lists.osgeo.org&gt;
> &gt; Onderwerp: [mapserver-users] WFS - DescribeFeatureType
> &gt; Datum: 12/03/08 07:06
> &gt; 
> &gt;&gt; Hi again,
> &gt;&gt;
> &gt;&gt; I'm trying to use describeFeatureType to retrieve type and fields
of a 
> &gt;&gt; given layer.
> &gt;&gt; While it looks right for attibute data, the GeomType is not
precise :
> &gt;&gt; &amp;lt;element name=&amp;quot;msGeometry&amp;quot;
> &gt; type=&amp;quot;gml:GeometryPropertyType&amp;quot;
minOccurs=&amp;quot;0&amp;quot; 
> &gt;&gt; maxOccurs=&amp;quot;1&amp;quot;/&amp;gt;
> &gt;&gt;
> &gt;&gt; The only piece of information I get in there is that the Geometry
is of 
> &gt;&gt; GeometryType, which I don't need any WFS request for !
> &gt;&gt;
> &gt;&gt; Is there a specific METADATA item to add or use to be able to
have the 
> &gt;&gt; precise type (PolygonPropertyType for instance) ?
> &gt;&gt;
> &gt;&gt; Thanks,
> &gt;&gt; -- 
> &gt;&gt; Guillaume SUEUR
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; _______________________________________________
> &gt;&gt; mapserver-users mailing list
> &gt;&gt; mapserver-users at lists.osgeo.org
> &gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users
> &gt;&gt;
> &gt;&gt;
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> 
> -- 
> Guillaume SUEUR
> Expert SIG et OpenSource
> NEOGEO
> 46 RUE MATABIAU
> 31000 TOULOUSE
> 06 74 91 95 20
> Site web : http://www.neogeo-online.net
> 
> 
> 





More information about the mapserver-users mailing list