[fdo-commits] r2679 - trunk/Providers/ArcSDE/Src/Provider
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Mon Mar 12 12:01:47 EDT 2007
Author: jacklee
Date: 2007-03-12 12:01:47 -0400 (Mon, 12 Mar 2007)
New Revision: 2679
Modified:
trunk/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp
Log:
Ticket #30
When calling SE_shape_get_all_points, passed NULL for z/measure if there is no z/measure
Modified: trunk/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp
===================================================================
--- trunk/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp 2007-03-10 05:00:39 UTC (rev 2678)
+++ trunk/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp 2007-03-12 16:01:47 UTC (rev 2679)
@@ -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