[mapguide-users] Re: SOS Value for Geometry property is null.

Jackie Ng jumpinjackie at gmail.com
Thu Apr 7 04:25:43 EDT 2011


Try this before you loop the feature reader:

MgClassDefinition clsDef = AFeatureReader.GetClassDefinition();
string geomPropName = clsDef.GetDefaultGeometryPropertyName();

The use the geomPropName instead of "geometry" in your GetGeometry() call

- Jackie

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SOS-Value-for-Geometry-property-is-null-tp6248735p6249087.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list