Skip to content

Commit 77e937f

Browse files
jef-nnyalldawson
authored andcommittedJul 16, 2015
skip blanks between wkt child blocks (fixes #13053)
(cherry-picked from 29aaf1b)
1 parent 9932ae1 commit 77e937f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/geometry/qgsgeometryutils.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@ QStringList QgsGeometryUtils::wktGetChildBlocks( const QString &wkt, const QStri
497497
QStringList blocks;
498498
for ( int i = 0, n = wkt.length(); i < n; ++i )
499499
{
500+
if ( wkt[i].isSpace() && level == 0 )
501+
continue;
502+
500503
if ( wkt[i] == ',' && level == 0 )
501504
{
502505
if ( !block.isEmpty() )

0 commit comments

Comments
 (0)
Please sign in to comment.