28 return factoryCompatibleGeometryTypes();
33 QVector<QgsGeometry::Error> errors;
37 method = Qgis::GeometryValidationEngine::Geos;
43 errors.append( error );
49 QList<QgsSingleGeometryCheckError *> result;
50 for (
const auto &error : std::as_const( errors ) )
66 QList<QgsWkbTypes::GeometryType> QgsGeometryIsValidCheck::factoryCompatibleGeometryTypes()
73 return factoryCompatibleGeometryTypes().contains( layer->geometryType() );
76 QString QgsGeometryIsValidCheck::factoryDescription()
78 return tr(
"Is Valid" );
81 QString QgsGeometryIsValidCheck::factoryId()
83 return QStringLiteral(
"QgsIsValidCheck" );
86 QgsGeometryCheck::Flags QgsGeometryIsValidCheck::factoryFlags()
99 , mDescription( errorDescription )