QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#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>
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 44 of file qgsogcutils.cpp.
#define GML32_NAMESPACE QStringLiteral( "http://www.opengis.net/gml/3.2" ) |
Definition at line 42 of file qgsogcutils.cpp.
#define GML_NAMESPACE QStringLiteral( "http://www.opengis.net/gml" ) |
Definition at line 41 of file qgsogcutils.cpp.
#define OGC_NAMESPACE QStringLiteral( "http://www.opengis.net/ogc" ) |
Definition at line 43 of file qgsogcutils.cpp.
typedef QMap<QString, int> IntMap |
Definition at line 1690 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 1691 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 2172 of file qgsogcutils.cpp.