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 e984fb0 commit d6d5be9Copy full SHA for d6d5be9
src/core/geometry/qgslinestringv2.cpp
@@ -294,6 +294,11 @@ void QgsLineStringV2::append( const QgsLineStringV2* line )
294
return;
295
}
296
297
+ if ( numPoints() < 1 )
298
+ {
299
+ setZMTypeFromSubGeometry( line, QgsWKBTypes::LineString );
300
+ }
301
+
302
mCoords += line->mCoords;
303
mZ += line->mZ;
304
mM += line->mM;
0 commit comments