QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
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 "qgsstringutils.h"
#include <QColor>
#include <QStringList>
#include <QTextStream>
#include <QObject>
#include <QRegularExpression>
#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" )
 
#define SE_NAMESPACE   QStringLiteral( "http://www.opengis.net/se" )
 

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 46 of file qgsogcutils.cpp.

◆ GML32_NAMESPACE

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

Definition at line 44 of file qgsogcutils.cpp.

◆ GML_NAMESPACE

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

Definition at line 43 of file qgsogcutils.cpp.

◆ OGC_NAMESPACE

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

Definition at line 45 of file qgsogcutils.cpp.

◆ SE_NAMESPACE

#define SE_NAMESPACE   QStringLiteral( "http://www.opengis.net/se" )

Definition at line 47 of file qgsogcutils.cpp.

Typedef Documentation

◆ IntMap

typedef QMap<QString, int> IntMap

Definition at line 1742 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 1743 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 2292 of file qgsogcutils.cpp.