[fdo-users] Is CurvePolygon implemented?

Gavin Cramer gavin.cramer at autodesk.com
Fri Feb 11 20:03:17 EST 2011


It is implemented.  Does your list of interior rings contain any NULL values?

Gavin


-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Steve Stanton
Sent: Friday, February 11, 2011 7:20 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Is CurvePolygon implemented?

I'm trying to export some cadastral polygons to SDF, and quite a few of them contain circular arcs. I initially approximated these arcs with some closely spaced points, and successfully created IPolygon objects.

Then I discovered ICurvePolygon, which would let me export the arcs without any approximation. But when I try to call FgfGeometryFactory.CreateCurvePolygon, it just comes back with a null reference exception. The stack trace:

   at OSGeo.FDO.Runtime.Disposable.get_UnmanagedObject()
   at OSGeo.FDO.Geometry.RingCollection.GetImpObj()
   at OSGeo.FDO.Geometry.FgfGeometryFactory.CreateCurvePolygon(IRing exteriorRing, RingCollection interiorRings)
   at Backsight.Editor.SdfExporter.ExportCurvePolygon(Polygon pol) in C:\Users\sstanton\Code\Backsight.Editor\SdfExporter.cs:line 182

I also tried it with the SQLite provider, and got the same. Should I take this to mean that CurvePolygon isn't supported?

Steve
_______________________________________________
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