Skip to content
Permalink
Browse files

Fix to detection of LINESTRING WKT in delimited text provider dialog

  • Loading branch information
ccrook committed Apr 15, 2013
1 parent 5f016e2 commit 632bfbbaf0b4f375ef379056ecd898dad6f7e68b
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp
@@ -402,7 +402,7 @@ void QgsDelimitedTextSourceSelect::updateFieldLists()

int counter = 0;
QStringList values;
QRegExp wktre( "^\\s*(?:MULTI)?(?:POINT|LINE|POLYGON)\\s*Z?\\s*M?\\(", Qt::CaseInsensitive );
QRegExp wktre( "^\\s*(?:MULTI)?(?:POINT|LINESTRING|POLYGON)\\s*Z?\\s*M?\\(", Qt::CaseInsensitive );

while ( counter < mExampleRowCount )
{
@@ -542,7 +542,6 @@ void QgsDelimitedTextSourceSelect::updateFieldLists()
connect( geomTypeXY, SIGNAL( toggled( bool ) ), this, SLOT( enableAccept() ) );
connect( geomTypeWKT, SIGNAL( toggled( bool ) ), this, SLOT( enableAccept() ) );
connect( geomTypeNone, SIGNAL( toggled( bool ) ), this, SLOT( enableAccept() ) );

}

}

0 comments on commit 632bfbb

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