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()
360
360
QVERIFY ( memoryLayer->isValid () );
361
361
QgsFeature f1 ( memoryLayer->dataProvider ()->fields (), 1 );
362
362
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
363
365
f1.setGeometry ( geomFromHexWKB (
364
366
" 010300000001000000030000000000000000000000000000000000000000000000000024400000000000000000000000000000244000000000000024400000000000000000"
365
367
) );
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ void TestQgsMapToolSelect::selectInvalidPolygons()
134
134
QVERIFY ( memoryLayer->isValid () );
135
135
QgsFeature f1 ( memoryLayer->dataProvider ()->fields (), 1 );
136
136
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
137
139
f1.setGeometry ( geomFromHexWKB (
138
140
" 010300000001000000030000000000000000000000000000000000000000000000000024400000000000000000000000000000244000000000000024400000000000000000"
139
141
) );
You can’t perform that action at this time.
0 commit comments