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

2011-04-07 Thread Jackie Ng
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:/

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

2011-04-07 Thread Jackie Ng
What is the FDO provider of your feature source? Is it: Autodesk.SqlServer? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/SOS-Value-for-Geometry-property-is-null-tp6248735p6248947.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

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

2011-04-06 Thread Jackie Ng
You should not blindly call the GetXXX() methods from the MgFeatureReader Call IsNull() on the reader first to determine if the property of the current feature being read is null - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/SOS-Value-for-Geometry-property-is-