File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,8 @@ void TestQgsMapToolIdentifyAction::identifyInvalidPolygons()
360360 QVERIFY ( memoryLayer->isValid () );
361361 QgsFeature f1 ( memoryLayer->dataProvider ()->fields (), 1 );
362362 f1.setAttribute ( " pk" , 1 );
363+ // This geometry is an invalid polygon (3 distinct vertices).
364+ // GEOS reported invalidity: Points of LinearRing do not form a closed linestring
363365 f1.setGeometry ( geomFromHexWKB (
364366 " 010300000001000000030000000000000000000000000000000000000000000000000024400000000000000000000000000000244000000000000024400000000000000000"
365367 ) );
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ void TestQgsMapToolSelect::selectInvalidPolygons()
134134 QVERIFY ( memoryLayer->isValid () );
135135 QgsFeature f1 ( memoryLayer->dataProvider ()->fields (), 1 );
136136 f1.setAttribute ( " pk" , 1 );
137+ // This geometry is an invalid polygon (3 distinct vertices).
138+ // GEOS reported invalidity: Points of LinearRing do not form a closed linestring
137139 f1.setGeometry ( geomFromHexWKB (
138140 " 010300000001000000030000000000000000000000000000000000000000000000000024400000000000000000000000000000244000000000000024400000000000000000"
139141 ) );
You can’t perform that action at this time.
0 commit comments