[mapguide-internals] FdoIFeatureReader::GetGeometry()

Haris Kurtagic haris at sl-king.com
Tue Mar 27 18:01:45 EDT 2007


Yes
Thank you,
Haris

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: 27. marec 2007 23:39
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] FdoIFeatureReader::GetGeometry()

You're right, stylization of the layer will stop. I can add a try-catch
in there, it should only skip the feature not the whole layer.

Traian


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

In that case stylizing will be interupted and no other geometry will be
displayed?

Haris

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: 27. marec 2007 23:34
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] FdoIFeatureReader::GetGeometry()



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().

Traian



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

Hi,

 

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

 

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.

 

Haris

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list