[Geoserver-devel] Curious about geometry type in DescribeFeatureType (and WFS 1.1)

Hi,
I'm looking at the sample DescribeFeatureType, WFS 1.1, on trunk,
and I see the following:

<xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:MultiSurfacePropertyType"/>

Hmmm... I havent' checked the GML definition, but it sounds a bit
odd to me, shouldn't it be explicitly a MultiPolygonPropertyType?

Cheers
Andrea

Andrea Aime wrote:

Hi,
I'm looking at the sample DescribeFeatureType, WFS 1.1, on trunk,
and I see the following:

<xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:MultiSurfacePropertyType"/>

Hmmm... I havent' checked the GML definition, but it sounds a bit
odd to me, shouldn't it be explicitly a MultiPolygonPropertyType?

Nope... MultiPolygon is deprecated in gml3 and replaced with MultiSurface.... and cite requires us to return a MultiSurfacePropertyType.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,46978f62133442458217002!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org