[fdo-internals] Re: FDO 3.5 Extract Geom from Multi in .NET?

Greg Boone greg.boone at autodesk.com
Wed Mar 3 16:35:58 EST 2010


Yes, I think so.

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Crispin_at_1Spatial
Sent: Tuesday, March 02, 2010 7:44 AM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] Re: FDO 3.5 Extract Geom from Multi in .NET?


OK,

So it looks like because I use the same code to compile for versions from
FDO 3.3 to 3.5 I need to use some preprocessor conditional wraps in a couple
of places... eg below.  Does this seem reasonable?

 C


fgfMLine = (OSGeo_FDO_Geometry.IMultiLineString)geometry;
for (int iMultiLine = 0; iMultiLine < fgfMLine.Count; iMultiLine++)
{
#if FDO35
	fgfLine = fgfMLine[iMultiLine];
#else
	fgfLine = fgfMLine.get_Item(iMultiLine);
#endif

-- 
View this message in context: http://n2.nabble.com/FDO-3-5-Extract-Geom-from-Multi-in-NET-tp4660232p4660747.html
Sent from the FDO Internals mailing list archive at Nabble.com.
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list