QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
#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>
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) | |
#define FES_NAMESPACE QStringLiteral( "http://www.opengis.net/fes/2.0" ) |
Definition at line 46 of file qgsogcutils.cpp.
#define GML32_NAMESPACE QStringLiteral( "http://www.opengis.net/gml/3.2" ) |
Definition at line 44 of file qgsogcutils.cpp.
#define GML_NAMESPACE QStringLiteral( "http://www.opengis.net/gml" ) |
Definition at line 43 of file qgsogcutils.cpp.
#define OGC_NAMESPACE QStringLiteral( "http://www.opengis.net/ogc" ) |
Definition at line 45 of file qgsogcutils.cpp.
typedef QMap<QString, int> IntMap |
Definition at line 1749 of file qgsogcutils.cpp.
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 1750 of file qgsogcutils.cpp.
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 2242 of file qgsogcutils.cpp.