[mapserver-users] WFS - DescribeFeatureType

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Mar 12 02:25:18 PDT 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 :
> > 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: guillaume.sueur at neogeo-online.net
> > Naar: mapserver-users at lists.osgeo.org
<mapserver-users at lists.osgeo.org>
> > 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
> >> mapserver-users at lists.osgeo.org
> >> 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
> 
> 
> 






More information about the MapServer-users mailing list