[fdo-commits] r150 - branches/3.2.1/Providers/ArcSDE/Src/Provider

svn_fdo at osgeo.org svn_fdo at osgeo.org
Mon Mar 12 02:18:40 EDT 2007


Author: jacklee
Date: 2007-03-12 02:18:40 -0400 (Mon, 12 Mar 2007)
New Revision: 150

Modified:
   branches/3.2.1/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp
Log:
When calling SE_shape_get_all_points, passed NULL for z/measure if there is no z/measure.

Modified: branches/3.2.1/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp
===================================================================
--- branches/3.2.1/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp	2007-03-12 06:08:33 UTC (rev 149)
+++ branches/3.2.1/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp	2007-03-12 06:18:40 UTC (rev 150)
@@ -1146,7 +1146,7 @@
 	{
 		RESIZE(connection->mGeomBuffer_pointsM,LFLOAT*,numPoints * sizeof(LFLOAT));
 	}
-    lResult = SE_shape_get_all_points (shape, SE_DEFAULT_ROTATION, connection->mGeomBuffer_part_offsets, connection->mGeomBuffer_subpart_offsets, connection->mGeomBuffer_pointsXY, connection->mGeomBuffer_pointsZ, connection->mGeomBuffer_pointsM);
+	lResult = SE_shape_get_all_points (shape, SE_DEFAULT_ROTATION, connection->mGeomBuffer_part_offsets, connection->mGeomBuffer_subpart_offsets, connection->mGeomBuffer_pointsXY, bHasZ ? connection->mGeomBuffer_pointsZ:NULL, bHasM ? connection->mGeomBuffer_pointsM:NULL);
     handle_sde_err<FdoCommandException>(lResult, __FILE__, __LINE__, ARCSDE_GEOMETRY_CONVERSION_SHAPE_TO_FGF, "Error encountered while converting ArcSDE shape to FGF.");
 
     // Convert this shape's data to FdoIGeometry:



More information about the fdo-commits mailing list