Skip to content
Permalink
Browse files

Merge pull request #9297 from m-kuhn/geometry-validation-auto-resolut…

…ion-experimental

[geometry validation] Tag automatic resolution of problems as experimental
  • Loading branch information
m-kuhn committed Mar 18, 2019
2 parents 4e9c4b5 + 24b8dcc commit 0c265d7f2d5cb8017cb33adb490a260c196776a6
Showing with 7 additions and 1 deletion.
  1. +4 −0 resources/qgis_global_settings.ini
  2. +3 −1 src/app/qgsgeometryvalidationdock.cpp
@@ -87,3 +87,7 @@ maxEntriesRelationWidget=100
# A comma separated list of geometry validations to enable by default for newly added layers
# Available checks: QgsIsValidCheck,QgsGeometryGapCheck,QgsGeometryOverlapCheck,QgsGeometryMissingVertexCheck
default_checks=

# Enable problem resolution for geometry errors
# This feature is experimental and has known issues.
enable_problem_resolution=false
@@ -70,8 +70,10 @@ QgsGeometryValidationDock::QgsGeometryValidationDock( const QString &title, QgsM
mErrorLocationRubberband->setColor( QColor( 50, 255, 50, 255 ) );

mProblemDetailWidget->setVisible( false );
}

// Problem resolution is unstable and therefore disabled by default
mResolutionWidget->setVisible( QgsSettings().value( QStringLiteral( "geometry_validation/enable_problem_resolution" ) ) == QLatin1String( "true" ) );
}

QgsGeometryValidationModel *QgsGeometryValidationDock::geometryValidationModel() const
{

0 comments on commit 0c265d7

Please sign in to comment.
You can’t perform that action at this time.