Some doc fixes

This commit is contained in:
Matthias Kuhn 2018-12-22 10:35:30 +01:00
parent c6420690b5
commit 07ab092fb1
No known key found for this signature in database
GPG Key ID: A0E766808764D73F
3 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ The location of the error in map units.
QVariant value() const;
%Docstring
An additional value for the error.
Lenghts and areas are provided in map units.
Lengths and areas are provided in map units.
.. seealso:: :py:func:`valueType`
%End
@ -176,7 +176,7 @@ Will be used to update existing errors whenever they are re-checked.
Create a new geometry check error with the parent ``check`` and for the
layer with ``layerId`` and ``featureId``.
The ``geometry`` of the error and the ``errorLocation`` need to be
specified in map coordiantes.
specified in map coordinates.
Optionally the vertex can be specified via ``vixd`` and a ``value`` with
its ``value`` Type for additional information.
%End

View File

@ -112,7 +112,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckError
/**
* An additional value for the error.
* Lenghts and areas are provided in map units.
* Lengths and areas are provided in map units.
* \see valueType()
*/
QVariant value() const { return mValue; }
@ -185,7 +185,7 @@ class ANALYSIS_EXPORT QgsGeometryCheckError
* Create a new geometry check error with the parent \a check and for the
* layer with \a layerId and \a featureId.
* The \a geometry of the error and the \a errorLocation need to be
* specified in map coordiantes.
* specified in map coordinates.
* Optionally the vertex can be specified via \a vixd and a \a value with
* its \a value Type for additional information.
*/

View File

@ -477,7 +477,7 @@ ACCEPTABLE_MISSING_DOCS = {
"QgsGeometryLineLayerIntersectionCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()", "QgsGeometryLineLayerIntersectionCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"],
"QgsGeometrySegmentLengthCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()", "QgsGeometrySegmentLengthCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"],
"QgsGeometryTypeCheckError": ["QgsGeometryTypeCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, QgsWkbTypes::Type flatType)"],
"QgsGeometryAngleCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()", "QgsGeometryAngleCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"]
"QgsGeometryAngleCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()", "QgsGeometryAngleCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"],
"QgsGeometrySliverPolygonCheck": ["factoryDescription()", "factoryId()", "QgsGeometrySliverPolygonCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"],
"QgsGeometryAreaCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()", "QgsGeometryAreaCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)"],
"QgsGeometryChecker": [],