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