|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
#include "qgsogcutils.h"#include <functional>#include <memory>#include <ogr_api.h>#include "qgscoordinatereferencesystem.h"#include "qgsexpression.h"#include "qgsexpression_p.h"#include "qgsexpressioncontextutils.h"#include "qgsexpressionfunction.h"#include "qgsexpressionnodeimpl.h"#include "qgsgeometry.h"#include "qgslogger.h"#include "qgsmultipolygon.h"#include "qgsogrutils.h"#include "qgspolygon.h"#include "qgsrectangle.h"#include "qgsstringutils.h"#include "qgsvectorlayer.h"#include "qgswkbptr.h"#include <QColor>#include <QObject>#include <QRegularExpression>#include <QString>#include <QStringList>#include <QTextStream>#include <netinet/in.h>
Go to the source code of this file.
Macros | |
| #define | FES_NAMESPACE u"http://www.opengis.net/fes/2.0"_s |
| #define | GML32_NAMESPACE u"http://www.opengis.net/gml/3.2"_s |
| #define | GML_NAMESPACE u"http://www.opengis.net/gml"_s |
| #define | OGC_NAMESPACE u"http://www.opengis.net/ogc"_s |
| #define | SE_NAMESPACE u"http://www.opengis.net/se"_s |
Typedefs | |
| typedef QMap< QString, int > | IntMap |
Functions | |
| Q_GLOBAL_STATIC_WITH_ARGS (IntMap, BINARY_OPERATORS_TAG_NAMES_MAP,({ { "Or"_L1, QgsExpressionNodeBinaryOperator::boOr }, { "And"_L1, QgsExpressionNodeBinaryOperator::boAnd }, { "PropertyIsEqualTo"_L1, QgsExpressionNodeBinaryOperator::boEQ }, { "PropertyIsNotEqualTo"_L1, QgsExpressionNodeBinaryOperator::boNE }, { "PropertyIsLessThanOrEqualTo"_L1, QgsExpressionNodeBinaryOperator::boLE }, { "PropertyIsGreaterThanOrEqualTo"_L1, QgsExpressionNodeBinaryOperator::boGE }, { "PropertyIsLessThan"_L1, QgsExpressionNodeBinaryOperator::boLT }, { "PropertyIsGreaterThan"_L1, QgsExpressionNodeBinaryOperator::boGT }, { "PropertyIsLike"_L1, QgsExpressionNodeBinaryOperator::boLike }, { "Add"_L1, QgsExpressionNodeBinaryOperator::boPlus }, { "Sub"_L1, QgsExpressionNodeBinaryOperator::boMinus }, { "Mul"_L1, QgsExpressionNodeBinaryOperator::boMul }, { "Div"_L1, QgsExpressionNodeBinaryOperator::boDiv }, })) static int binaryOperatorFromTagName(const QString &tagName) | |
| Q_GLOBAL_STATIC_WITH_ARGS (QgsStringMap, BINARY_SPATIAL_OPS_MAP,({ { "disjoint"_L1, "Disjoint"_L1 }, { "intersects"_L1, "Intersects"_L1 }, { "touches"_L1, "Touches"_L1 }, { "crosses"_L1, "Crosses"_L1 }, { "contains"_L1, "Contains"_L1 }, { "overlaps"_L1, "Overlaps"_L1 }, { "within"_L1, "Within"_L1 } })) static bool isBinarySpatialOperator(const QString &fnName) | |
| Q_GLOBAL_STATIC_WITH_ARGS (QgsStringMap, OGC_FUNCTIONS_MAP,({ { "lower"_L1, "strToLowerCase"_L1 }, { "upper"_L1, "strToUpperCase"_L1 }, { "trim"_L1, "strTrim"_L1 }, { "if"_L1, "if_then_else"_L1 }, { "exp"_L1, "exp"_L1 }, { "floor"_L1, "floor"_L1 }, { "ceil"_L1, "ceil"_L1 }, { "round"_L1, "round"_L1 }, { "sin"_L1, "sin"_L1 }, { "cos"_L1, "cos"_L1 }, { "tan"_L1, "tan"_L1 }, { "asin"_L1, "asin"_L1 }, { "acos"_L1, "acos"_L1 }, { "atan"_L1, "atan"_L1 }, { "attribute"_L1, "attribute"_L1 }, { "get_feature"_L1, "get_feature"_L1 } })) static bool isSupportedOgcFunction(const QString &fnName) | |
| #define FES_NAMESPACE u"http://www.opengis.net/fes/2.0"_s |
Definition at line 56 of file qgsogcutils.cpp.
| #define GML32_NAMESPACE u"http://www.opengis.net/gml/3.2"_s |
Definition at line 54 of file qgsogcutils.cpp.
| #define GML_NAMESPACE u"http://www.opengis.net/gml"_s |
Definition at line 53 of file qgsogcutils.cpp.
| #define OGC_NAMESPACE u"http://www.opengis.net/ogc"_s |
Definition at line 55 of file qgsogcutils.cpp.
| #define SE_NAMESPACE u"http://www.opengis.net/se"_s |
Definition at line 57 of file qgsogcutils.cpp.
| typedef QMap<QString, int> IntMap |
Definition at line 1878 of file qgsogcutils.cpp.
| Q_GLOBAL_STATIC_WITH_ARGS | ( | IntMap | , |
| BINARY_OPERATORS_TAG_NAMES_MAP | , | ||
| ({ { "Or"_L1, QgsExpressionNodeBinaryOperator::boOr }, { "And"_L1, QgsExpressionNodeBinaryOperator::boAnd }, { "PropertyIsEqualTo"_L1, QgsExpressionNodeBinaryOperator::boEQ }, { "PropertyIsNotEqualTo"_L1, QgsExpressionNodeBinaryOperator::boNE }, { "PropertyIsLessThanOrEqualTo"_L1, QgsExpressionNodeBinaryOperator::boLE }, { "PropertyIsGreaterThanOrEqualTo"_L1, QgsExpressionNodeBinaryOperator::boGE }, { "PropertyIsLessThan"_L1, QgsExpressionNodeBinaryOperator::boLT }, { "PropertyIsGreaterThan"_L1, QgsExpressionNodeBinaryOperator::boGT }, { "PropertyIsLike"_L1, QgsExpressionNodeBinaryOperator::boLike }, { "Add"_L1, QgsExpressionNodeBinaryOperator::boPlus }, { "Sub"_L1, QgsExpressionNodeBinaryOperator::boMinus }, { "Mul"_L1, QgsExpressionNodeBinaryOperator::boMul }, { "Div"_L1, QgsExpressionNodeBinaryOperator::boDiv }, }) | ) const & |
Definition at line 1879 of file qgsogcutils.cpp.
| Q_GLOBAL_STATIC_WITH_ARGS | ( | QgsStringMap | , |
| BINARY_SPATIAL_OPS_MAP | , | ||
| ( { { "disjoint"_L1, "Disjoint"_L1 }, { "intersects"_L1, "Intersects"_L1 }, { "touches"_L1, "Touches"_L1 }, { "crosses"_L1, "Crosses"_L1 }, { "contains"_L1, "Contains"_L1 }, { "overlaps"_L1, "Overlaps"_L1 }, { "within"_L1, "Within"_L1 } }) | ) const & |
Definition at line 2470 of file qgsogcutils.cpp.
| Q_GLOBAL_STATIC_WITH_ARGS | ( | QgsStringMap | , |
| OGC_FUNCTIONS_MAP | , | ||
| ( { { "lower"_L1, "strToLowerCase"_L1 }, { "upper"_L1, "strToUpperCase"_L1 }, { "trim"_L1, "strTrim"_L1 }, { "if"_L1, "if_then_else"_L1 }, { "exp"_L1, "exp"_L1 }, { "floor"_L1, "floor"_L1 }, { "ceil"_L1, "ceil"_L1 }, { "round"_L1, "round"_L1 }, { "sin"_L1, "sin"_L1 }, { "cos"_L1, "cos"_L1 }, { "tan"_L1, "tan"_L1 }, { "asin"_L1, "asin"_L1 }, { "acos"_L1, "acos"_L1 }, { "atan"_L1, "atan"_L1 }, { "attribute"_L1, "attribute"_L1 }, { "get_feature"_L1, "get_feature"_L1 } }) | ) const & |
Definition at line 2494 of file qgsogcutils.cpp.