[mapguide-internals] FdoIFeatureReader::GetGeometry()

Traian Stanev traian.stanev at autodesk.com
Tue Mar 27 17:33:43 EDT 2007

GetGeometry() is supposed to throw an exception in the case of a null
geometry. In general FDO is exception based and not return code based.
Same for GetString().


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Haris
Sent: Tuesday, March 27, 2007 5:49 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] FdoIFeatureReader::GetGeometry()



As I am seeing in MapGuide OS when it is reading
FdoIFeatureReader::GetGeometry it is not cheking if NULL pointer is


I would appreciate if someone would comment on this is this a bug or
supposed to be.


Can the reader return NULL?



There is a function IsNull in the reader but that could be two different
situations, like column is not NULL but geometry is not valid.



mapguide-internals mailing list
mapguide-internals at lists.osgeo.org

More information about the mapguide-internals mailing list