Skip to content
Permalink
Browse files

Namespace QgsOgcUtils::Context (for SIP bindings)

  • Loading branch information
elpaso committed Jun 10, 2020
1 parent 80656cc commit 2b59519576c49953ec290f0750fb2185484e118d
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/auto_generated/qgsogcutils.sip.in
  2. +2 −2 src/core/qgsogcutils.h
@@ -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

@@ -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
@@ -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 );

0 comments on commit 2b59519

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