Skip to content

Commit

Permalink
topology checker: catch difference error (fixes #7845)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 21, 2013
1 parent b4f282c commit 454778c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/topology/topolTest.cpp
Expand Up @@ -694,6 +694,11 @@ ErrorList topolTest::checkGaps( double tolerance, QgsVectorLayer *layer1, QgsVec
//qDebug() << "extent wkt - " << bufferExtent->exportToWkt();

QgsGeometry* diffGeoms = bufferExtent->difference( &test );
if ( !diffGeoms )
{
qDebug() << "difference result 0-";
return errorList;
}

//qDebug() << "difference gometry - " << diffGeoms->exportToWkt() ;

Expand Down

0 comments on commit 454778c

Please sign in to comment.