We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 381895f commit caad989Copy full SHA for caad989
src/core/geometry/qgscompoundcurvev2.cpp
@@ -390,6 +390,15 @@ void QgsCompoundCurveV2::addCurve( QgsCurveV2* c )
390
{
391
setZMTypeFromSubGeometry( c, QgsWKBTypes::CompoundCurve );
392
}
393
+
394
+ if ( QgsWKBTypes::hasZ( mWkbType ) && !QgsWKBTypes::hasZ( c->wkbType() ) )
395
+ {
396
+ c->addZValue();
397
+ }
398
+ if ( QgsWKBTypes::hasM( mWkbType ) && !QgsWKBTypes::hasM( c->wkbType() ) )
399
400
+ c->addMValue();
401
402
clearCache();
403
404
0 commit comments