@@ -273,13 +273,13 @@ ErrorList topolTest::checkDanglingLines( double tolerance, QgsVectorLayer* layer
273
273
274
274
if ( !g1 )
275
275
{
276
- QgsMessageLog::logMessage ( tr ( " First geometry invalid in line test." ), tr ( " Topology plugin" ) );
276
+ QgsMessageLog::logMessage ( tr ( " First geometry invalid in dangling line test." ), tr ( " Topology plugin" ) );
277
277
continue ;
278
278
}
279
279
280
280
if ( !g1->asGeos () )
281
281
{
282
- QgsMessageLog::logMessage ( tr ( " Failed to import first geometry into GEOS in line test." ), tr ( " Topology plugin" ) );
282
+ QgsMessageLog::logMessage ( tr ( " Failed to import first geometry into GEOS in dangling line test." ), tr ( " Topology plugin" ) );
283
283
continue ;
284
284
}
285
285
@@ -405,13 +405,13 @@ ErrorList topolTest::checkDuplicates( double tolerance, QgsVectorLayer *layer1,
405
405
QgsGeometry* g2 = mFeatureMap2 [*cit].feature .geometry ();
406
406
if ( !g2 )
407
407
{
408
- QgsMessageLog::logMessage ( tr ( " Invalid second geometry in dangling line test." ), tr ( " Topology plugin" ) );
408
+ QgsMessageLog::logMessage ( tr ( " Invalid second geometry in duplicate geometry test." ), tr ( " Topology plugin" ) );
409
409
continue ;
410
410
}
411
411
412
412
if ( !g2->asGeos () )
413
413
{
414
- QgsMessageLog::logMessage ( tr ( " Failed to import second geometry into GEOS in dangling line test." ), tr ( " Topology plugin" ) );
414
+ QgsMessageLog::logMessage ( tr ( " Failed to import second geometry into GEOS in duplicate geometry test." ), tr ( " Topology plugin" ) );
415
415
continue ;
416
416
}
417
417
@@ -528,19 +528,19 @@ ErrorList topolTest::checkOverlaps( double tolerance, QgsVectorLayer *layer1, Qg
528
528
QgsGeometry* g2 = mFeatureMap2 [*cit].feature .geometry ();
529
529
if ( !g2 )
530
530
{
531
- QgsMessageLog::logMessage ( tr ( " Invalid second geometry in dangling line test." ), tr ( " Topology plugin" ) );
531
+ QgsMessageLog::logMessage ( tr ( " Invalid second geometry in overlaps test." ), tr ( " Topology plugin" ) );
532
532
continue ;
533
533
}
534
534
535
535
if ( !g2->asGeos () )
536
536
{
537
- QgsMessageLog::logMessage ( tr ( " Failed to import second geometry into GEOS in dangling line test." ), tr ( " Topology plugin" ) );
537
+ QgsMessageLog::logMessage ( tr ( " Failed to import second geometry into GEOS in overlaps test." ), tr ( " Topology plugin" ) );
538
538
continue ;
539
539
}
540
540
541
541
if ( g2->isGeosValid () == false )
542
542
{
543
- QgsMessageLog::logMessage ( tr ( " Skipping invalid second geometry of feature %1 in dangling line test." ).arg ( it->feature .id () ), tr ( " Topology plugin" ) );
543
+ QgsMessageLog::logMessage ( tr ( " Skipping invalid second geometry of feature %1 in overlaps test." ).arg ( it->feature .id () ), tr ( " Topology plugin" ) );
544
544
continue ;
545
545
}
546
546
@@ -1259,7 +1259,7 @@ ErrorList topolTest::checkPointCoveredByLineEnds( double tolerance, QgsVectorLay
1259
1259
QgsGeometry* g2 = f.geometry ();
1260
1260
if ( !g2 || !g2->asGeos () )
1261
1261
{
1262
- QgsMessageLog::logMessage ( tr ( " No second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1262
+ QgsMessageLog::logMessage ( tr ( " Second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1263
1263
continue ;
1264
1264
}
1265
1265
QgsGeometry* startPoint = QgsGeometry::fromPoint ( g2->asPolyline ().first () );
@@ -1344,7 +1344,7 @@ ErrorList topolTest::checkyLineEndsCoveredByPoints( double tolerance, QgsVectorL
1344
1344
QgsGeometry* g2 = f.geometry ();
1345
1345
if ( !g2 || !g2->asGeos () )
1346
1346
{
1347
- QgsMessageLog::logMessage ( tr ( " No second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1347
+ QgsMessageLog::logMessage ( tr ( " Second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1348
1348
continue ;
1349
1349
}
1350
1350
@@ -1435,7 +1435,7 @@ ErrorList topolTest::checkPointInPolygon( double tolerance, QgsVectorLayer *laye
1435
1435
QgsGeometry* g2 = f.geometry ();
1436
1436
if ( !g2 || !g2->asGeos () )
1437
1437
{
1438
- QgsMessageLog::logMessage ( tr ( " No second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1438
+ QgsMessageLog::logMessage ( tr ( " Second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1439
1439
continue ;
1440
1440
}
1441
1441
if ( g2->contains ( g1 ) )
@@ -1509,7 +1509,7 @@ ErrorList topolTest::checkPolygonContainsPoint( double tolerance, QgsVectorLayer
1509
1509
QgsGeometry* g2 = f.geometry ();
1510
1510
if ( !g2 || !g2->asGeos () )
1511
1511
{
1512
- QgsMessageLog::logMessage ( tr ( " No second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1512
+ QgsMessageLog::logMessage ( tr ( " Second geometry missing or GEOS import failed." ), tr ( " Topology plugin" ) );
1513
1513
continue ;
1514
1514
}
1515
1515
if ( g1->contains ( g2 ) )
0 commit comments