mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge pull request #8336 from m-kuhn/doNotReportEnvelopeAsGap
Do not report envelope as gap
This commit is contained in:
commit
0633ee04a3
@ -98,7 +98,8 @@ void QgsGeometryGapCheck::collectErrors( const QMap<QString, QgsFeaturePool *> &
|
||||
{
|
||||
std::unique_ptr<QgsAbstractGeometry> gapGeom( QgsGeometryCheckerUtils::getGeomPart( diffGeom.get(), iPart )->clone() );
|
||||
// Skip the gap between features and boundingbox
|
||||
if ( gapGeom->boundingBox() == envelope->boundingBox() )
|
||||
const double spacing = context()->tolerance;
|
||||
if ( gapGeom->boundingBox().snappedToGrid( spacing ) == envelope->boundingBox().snappedToGrid( spacing ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user