[fdo-internals] Re: FDO 3.5 Extract Geom from Multi in .NET?
Crispin_at_1Spatial
crispin.hoult at 1spatial.com
Tue Mar 2 07:43:39 EST 2010
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.
More information about the fdo-internals
mailing list