Skip to content

Commit

Permalink
Namespace QgsOgcUtils::Context (for SIP bindings)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 10, 2020
1 parent 80656cc commit 2b59519
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgsogcutils.sip.in
Expand Up @@ -43,7 +43,7 @@ Constructs a Context from ``layer`` and ``transformContext``
GML_3_2_1,
};

static QgsGeometry geometryFromGML( const QString &xmlString, const Context &context = Context() );
static QgsGeometry geometryFromGML( const QString &xmlString, const QgsOgcUtils::Context &context = QgsOgcUtils::Context() );
%Docstring
Static method that creates geometry from GML

Expand All @@ -53,7 +53,7 @@ Static method that creates geometry from GML
:param context: QgsOgcUtils context
%End

static QgsGeometry geometryFromGML( const QDomNode &geometryNode, const Context &context = Context() );
static QgsGeometry geometryFromGML( const QDomNode &geometryNode, const QgsOgcUtils::Context &context = QgsOgcUtils::Context() );
%Docstring
Static method that creates geometry from GML
%End
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsogcutils.h
Expand Up @@ -86,12 +86,12 @@ class CORE_EXPORT QgsOgcUtils
* "gml" namespace (\verbatim <gml:Point>...</gml:Point> \endverbatim)
* \param context QgsOgcUtils context
*/
static QgsGeometry geometryFromGML( const QString &xmlString, const Context &context = Context() );
static QgsGeometry geometryFromGML( const QString &xmlString, const QgsOgcUtils::Context &context = QgsOgcUtils::Context() );

/**
* Static method that creates geometry from GML
*/
static QgsGeometry geometryFromGML( const QDomNode &geometryNode, const Context &context = Context() );
static QgsGeometry geometryFromGML( const QDomNode &geometryNode, const QgsOgcUtils::Context &context = QgsOgcUtils::Context() );

//! Read rectangle from GML2 Box
static QgsRectangle rectangleFromGMLBox( const QDomNode &boxNode );
Expand Down

0 comments on commit 2b59519

Please sign in to comment.