[fdo-users] How does FDO handle invalid fgf geometries?

Dan Stoica dan.stoica at autodesk.com
Thu Aug 21 10:49:53 EDT 2008


I can confirm that the fgf is OK (e.g. loaded the Parcels successfully under MAP) but GetText() fails on Featid=97 with the error you mentioned.

Can you please file a Ticket against FDO?

Dan.

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Thursday, August 21, 2008 10:22 AM
To: fdo-users at lists.osgeo.org
Subject: RE: [fdo-users] How does FDO handle invalid fgf geometries?


Hi Dan,

Yes that is the one I am talking about.

- Jackie


Dan Stoica wrote:
>
> Hi,
>
> Just to make sure: is this Parcels.shp file located in
> \Providers\SHP\TestData\Sheboygan\ ?
>
> Dan.
>
> From: fdo-users-bounces at lists.osgeo.org
> [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> Sent: Thursday, August 21, 2008 8:39 AM
> To: fdo-users at lists.osgeo.org
> Subject: [fdo-users] How does FDO handle invalid fgf geometries?
>
> Hi All,
>
> How does FDO handle invalid FGF binary data?
>
> Because I believe in the SHP test data, the 97th feature in Parcels.shp
> (FeatId = 97) contains an invalid geometry, as I cannot parse the byte
> array into FGF text, because it will throw an exception with the message:
> Memory allocation failed.
>
> I even wrote my own FGF binary to text parser in managed code on the false
> belief that it was due to some memory leak in the FDO API, and tested it
> on this feature, and it too failed to correctly parse this geometry.
>
> Does FDO have any safeguards in place to prevent insertion of invalid
> geometry values? (ie. Stop me from using a random binary BLOB as a
> geometry value)
>
> - Jackie
>
> --
> Blog: http://themapguyde.blogspot.com
> Facebook: http://www.facebook.com/profile.php?id=599261907
> LinkedIn: http://www.linkedin.com/in/jackieng
>
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
>
>

--
View this message in context: http://n2.nabble.com/How-does-FDO-handle-invalid-fgf-geometries--tp738279p738555.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list