[fdo-commits] r149 - branches/3.2.x/Providers/ArcSDE/Src/Provider
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Mon Mar 12 02:08:33 EDT 2007
Author: jacklee
Date: 2007-03-12 02:08:33 -0400 (Mon, 12 Mar 2007)
New Revision: 149
Modified:
branches/3.2.x/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.x/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp
===================================================================
--- branches/3.2.x/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp 2007-03-10 07:09:29 UTC (rev 148)
+++ branches/3.2.x/Providers/ArcSDE/Src/Provider/ArcSDEUtils.cpp 2007-03-12 06:08:33 UTC (rev 149)
@@ -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