Skip to content
Permalink
Browse files

Merge pull request #7860 from pblottiere/filter_2

Expression from WFS 2.0 filters
  • Loading branch information
pblottiere committed Sep 13, 2018
2 parents 79dc991 + 5fd9501 commit f99b2db6744e895adf84e317c42e61d33ce0a687
Showing with 689 additions and 457 deletions.
  1. +11 −0 python/core/auto_generated/qgsogcutils.sip.in
  2. +522 −457 src/core/qgsogcutils.cpp
  3. +96 −0 src/core/qgsogcutils.h
  4. +60 −0 tests/src/core/testqgsogcutils.cpp
@@ -149,6 +149,17 @@ according to the OGC filter specs (=,!=,<,>,<=,>=,AND,OR,NOT)
FILTER_FES_2_0
};

static QgsExpression *expressionFromOgcFilter( const QDomElement &element, FilterVersion version, QgsVectorLayer *layer = 0 ) /Factory/;
%Docstring
Returns an expression from a WFS filter embedded in a document.

:param element: The WFS Filter
:param version: The WFS version
:param layer: Layer to use to retrieve field values from literal filters

.. versionadded:: 3.4
%End


static QDomElement expressionToOgcExpression( const QgsExpression &exp, QDomDocument &doc, QString *errorMessage = 0 );
%Docstring

0 comments on commit f99b2db

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