Skip to content
Permalink
Browse files

qsql_ocispatial.cpp: use WKBMultiCurveZ for 3D geometries. Spotted by…

… cppcheck
  • Loading branch information
rouault authored and nyalldawson committed Jun 15, 2020
1 parent 775ad77 commit c7de2940695c90f692ebf160c84378844023ef54
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/ocispatial/qsql_ocispatial.cpp
@@ -2747,7 +2747,7 @@ bool QOCISpatialCols::convertToWkb( QVariant &v, int index )
else
{
if ( isCurved )
*ptr.iPtr++ = nDims == 2 ? WKBMultiCurve : WKBMultiCurve;
*ptr.iPtr++ = nDims == 2 ? WKBMultiCurve : WKBMultiCurveZ;
else
*ptr.iPtr++ = nDims == 2 ? WKBMultiLineString : WKBMultiLineString25D;
*ptr.iPtr++ = lines.size();

0 comments on commit c7de294

Please sign in to comment.
You can’t perform that action at this time.