Skip to content

Commit

Permalink
Some doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 22, 2018
1 parent c642069 commit 07ab092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/analysis/vector/geometry_checker/qgsgeometrycheckerror.h
Expand Up @@ -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; }
Expand Down Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/code_layout/acceptable_missing_doc.py
Expand Up @@ -477,7 +477,7 @@
"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": [],
Expand Down

0 comments on commit 07ab092

Please sign in to comment.