QGIS API Documentation  3.17.0-Master (a035f434f4)
Macros | Typedefs | Functions
qgsogcutils.cpp File Reference
#include "qgsogcutils.h"
#include "qgsexpression.h"
#include "qgsexpressionnodeimpl.h"
#include "qgsexpressionfunction.h"
#include "qgsexpression_p.h"
#include "qgsgeometry.h"
#include "qgswkbptr.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsrectangle.h"
#include "qgsvectorlayer.h"
#include "qgsexpressioncontextutils.h"
#include "qgslogger.h"
#include <QColor>
#include <QStringList>
#include <QTextStream>
#include <QObject>
#include <netinet/in.h>
Include dependency graph for qgsogcutils.cpp:

Go to the source code of this file.

Macros

#define FES_NAMESPACE   QStringLiteral( "http://www.opengis.net/fes/2.0" )
 
#define GML32_NAMESPACE   QStringLiteral( "http://www.opengis.net/gml/3.2" )
 
#define GML_NAMESPACE   QStringLiteral( "http://www.opengis.net/gml" )
 
#define OGC_NAMESPACE   QStringLiteral( "http://www.opengis.net/ogc" )
 

Typedefs

typedef QMap< QString, int > IntMap
 

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (IntMap, BINARY_OPERATORS_TAG_NAMES_MAP,({ { QLatin1String("Or"), QgsExpressionNodeBinaryOperator::boOr }, { QLatin1String("And"), QgsExpressionNodeBinaryOperator::boAnd }, { QLatin1String("PropertyIsEqualTo"), QgsExpressionNodeBinaryOperator::boEQ }, { QLatin1String("PropertyIsNotEqualTo"), QgsExpressionNodeBinaryOperator::boNE }, { QLatin1String("PropertyIsLessThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boLE }, { QLatin1String("PropertyIsGreaterThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boGE }, { QLatin1String("PropertyIsLessThan"), QgsExpressionNodeBinaryOperator::boLT }, { QLatin1String("PropertyIsGreaterThan"), QgsExpressionNodeBinaryOperator::boGT }, { QLatin1String("PropertyIsLike"), QgsExpressionNodeBinaryOperator::boLike }, { QLatin1String("Add"), QgsExpressionNodeBinaryOperator::boPlus }, { QLatin1String("Sub"), QgsExpressionNodeBinaryOperator::boMinus }, { QLatin1String("Mul"), QgsExpressionNodeBinaryOperator::boMul }, { QLatin1String("Div"), QgsExpressionNodeBinaryOperator::boDiv }, })) static int binaryOperatorFromTagName(const QString &tagName)
 
 Q_GLOBAL_STATIC_WITH_ARGS (QgsStringMap, BINARY_SPATIAL_OPS_MAP,({ { QLatin1String("disjoint"), QLatin1String("Disjoint") }, { QLatin1String("intersects"), QLatin1String("Intersects")}, { QLatin1String("touches"), QLatin1String("Touches") }, { QLatin1String("crosses"), QLatin1String("Crosses") }, { QLatin1String("contains"), QLatin1String("Contains") }, { QLatin1String("overlaps"), QLatin1String("Overlaps") }, { QLatin1String("within"), QLatin1String("Within") } })) static bool isBinarySpatialOperator(const QString &fnName)
 

Macro Definition Documentation

◆ FES_NAMESPACE

#define FES_NAMESPACE   QStringLiteral( "http://www.opengis.net/fes/2.0" )

Definition at line 44 of file qgsogcutils.cpp.

◆ GML32_NAMESPACE

#define GML32_NAMESPACE   QStringLiteral( "http://www.opengis.net/gml/3.2" )

Definition at line 42 of file qgsogcutils.cpp.

◆ GML_NAMESPACE

#define GML_NAMESPACE   QStringLiteral( "http://www.opengis.net/gml" )

Definition at line 41 of file qgsogcutils.cpp.

◆ OGC_NAMESPACE

#define OGC_NAMESPACE   QStringLiteral( "http://www.opengis.net/ogc" )

Definition at line 43 of file qgsogcutils.cpp.

Typedef Documentation

◆ IntMap

typedef QMap<QString, int> IntMap

Definition at line 1703 of file qgsogcutils.cpp.

Function Documentation

◆ Q_GLOBAL_STATIC_WITH_ARGS() [1/2]

Q_GLOBAL_STATIC_WITH_ARGS ( IntMap  ,
BINARY_OPERATORS_TAG_NAMES_MAP  ,
({ { QLatin1String("Or"), QgsExpressionNodeBinaryOperator::boOr }, { QLatin1String("And"), QgsExpressionNodeBinaryOperator::boAnd }, { QLatin1String("PropertyIsEqualTo"), QgsExpressionNodeBinaryOperator::boEQ }, { QLatin1String("PropertyIsNotEqualTo"), QgsExpressionNodeBinaryOperator::boNE }, { QLatin1String("PropertyIsLessThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boLE }, { QLatin1String("PropertyIsGreaterThanOrEqualTo"), QgsExpressionNodeBinaryOperator::boGE }, { QLatin1String("PropertyIsLessThan"), QgsExpressionNodeBinaryOperator::boLT }, { QLatin1String("PropertyIsGreaterThan"), QgsExpressionNodeBinaryOperator::boGT }, { QLatin1String("PropertyIsLike"), QgsExpressionNodeBinaryOperator::boLike }, { QLatin1String("Add"), QgsExpressionNodeBinaryOperator::boPlus }, { QLatin1String("Sub"), QgsExpressionNodeBinaryOperator::boMinus }, { QLatin1String("Mul"), QgsExpressionNodeBinaryOperator::boMul }, { QLatin1String("Div"), QgsExpressionNodeBinaryOperator::boDiv },})   
) const &

Definition at line 1704 of file qgsogcutils.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS() [2/2]

Q_GLOBAL_STATIC_WITH_ARGS ( QgsStringMap  ,
BINARY_SPATIAL_OPS_MAP  ,
({ { QLatin1String("disjoint"), QLatin1String("Disjoint") }, { QLatin1String("intersects"), QLatin1String("Intersects")}, { QLatin1String("touches"), QLatin1String("Touches") }, { QLatin1String("crosses"), QLatin1String("Crosses") }, { QLatin1String("contains"), QLatin1String("Contains") }, { QLatin1String("overlaps"), QLatin1String("Overlaps") }, { QLatin1String("within"), QLatin1String("Within") }})   
) const &

Definition at line 2185 of file qgsogcutils.cpp.