69 , transformContext( transformContext )
101 static QgsRectangle rectangleFromGMLBox(
const QDomNode &boxNode );
104 static QgsRectangle rectangleFromGMLEnvelope(
const QDomNode &envelopeNode );
110 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
113 bool invertAxisOrientation,
114 const QString &gmlIdBase,
121 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
const QString &format,
int precision = 17 );
127 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
int precision = 17 );
139 static QDomElement rectangleToGMLBox(
QgsRectangle *box, QDomDocument &doc,
141 bool invertAxisOrientation,
148 static QDomElement rectangleToGMLEnvelope(
QgsRectangle *env, QDomDocument &doc,
int precision = 17 );
154 static QDomElement rectangleToGMLEnvelope(
QgsRectangle *env, QDomDocument &doc,
156 bool invertAxisOrientation,
161 static QColor colorFromOgcFill(
const QDomElement &fillElement );
172 static QDomElement expressionToOgcFilter( const
QgsExpression &exp, QDomDocument &doc, QString *errorMessage =
nullptr );
200 static QDomElement expressionToOgcFilter( const
QgsExpression &exp,
203 FilterVersion filterVersion,
204 const QString &namespacePrefix,
205 const QString &namespaceURI,
208 bool honourAxisOrientation,
209 bool invertAxisOrientation,
210 QString *errorMessage =
nullptr,
211 const QMap<QString, QString> &fieldNameToXPathMap = QMap<QString, QString>(),
212 const QMap<QString, QString> &namespacePrefixToUriMap = QMap<QString, QString>() )
SIP_SKIP;
220 static QDomElement expressionToOgcExpression( const
QgsExpression &exp, QDomDocument &doc, QString *errorMessage =
nullptr,
221 bool requiresFilterElement = false );
228 static QDomElement elseFilterExpression( QDomDocument &doc );
235 static QDomElement expressionToOgcExpression( const
QgsExpression &exp,
238 FilterVersion filterVersion,
241 bool honourAxisOrientation,
242 bool invertAxisOrientation,
243 QString *errorMessage =
nullptr,
244 bool requiresFilterElement = false,
245 const QMap<QString, QString> &fieldNameToXPathMap = QMap<QString, QString>(),
246 const QMap<QString, QString> &namespacePrefixToUriMap = QMap<QString, QString>() );
291 static QDomElement SQLStatementToOgcFilter(
const QgsSQLStatement &statement,
295 const QList<LayerProperties> &layerProperties,
296 bool honourAxisOrientation,
297 bool invertAxisOrientation,
298 const QMap< QString, QString> &mapUnprefixedTypenameToPrefixedTypename,
299 QString *errorMessage =
nullptr,
300 const QMap<QString, QString> &fieldNameToXPathMap = QMap<QString, QString>(),
301 const QMap<QString, QString> &namespacePrefixToUriMap = QMap<QString, QString>() )
SIP_SKIP;
306 static
QgsGeometry geometryFromGMLPoint( const QDomElement &geometryElement );
308 static
QgsGeometry geometryFromGMLLineString( const QDomElement &geometryElement );
310 static
QgsGeometry geometryFromGMLPolygon( const QDomElement &geometryElement );
312 static
QgsGeometry geometryFromGMLMultiPoint( const QDomElement &geometryElement );
314 static
QgsGeometry geometryFromGMLMultiLineString( const QDomElement &geometryElement );
316 static
QgsGeometry geometryFromGMLMultiPolygon( const QDomElement &geometryElement );
322 static QDomElement filterElement(
334 static
bool readGMLCoordinates(
QgsPolylineXY &coords, const QDomElement &elem );
344 static
bool readGMLPositions(
QgsPolylineXY &coords, const QDomElement &elem );
353 static QDomElement createGMLCoordinates( const
QgsPolylineXY &points, QDomDocument &doc );
361 static QDomElement createGMLPositions( const
QgsPolylineXY &points, QDomDocument &doc );
378 static
QgsExpressionNode *nodeIsBetweenFromOgcFilter( QDomElement &element, QString &errorMessage );
397 const QString &namespacePrefix,
398 const QString &namespaceURI,
401 bool honourAxisOrientation,
402 bool invertAxisOrientation,
403 const QMap<QString, QString> &fieldNameToXPathMap,
404 const QMap<QString, QString> &namespacePrefixToUriMap
421 const QString &mNamespacePrefix;
422 const QString &mNamespaceURI;
423 const QString &mGeometryName;
424 const QString &mSrsName;
425 bool mInvertAxisOrientation;
426 const QMap<QString, QString> &mFieldNameToXPathMap;
427 const QMap<QString, QString> &mNamespacePrefixToUriMap;
428 QString mErrorMessage;
429 QString mFilterPrefix;
430 QString mPropertyName;
540 const QList<QgsOgcUtils::LayerProperties> &layerProperties,
541 bool honourAxisOrientation,
542 bool invertAxisOrientation,
543 const QMap< QString, QString> &mapUnprefixedTypenameToPrefixedTypename,
544 const QMap<QString, QString> &fieldNameToXPathMap,
545 const QMap<QString, QString> &namespacePrefixToUriMap );
561 const QList<QgsOgcUtils::LayerProperties> &mLayerProperties;
562 bool mHonourAxisOrientation;
563 bool mInvertAxisOrientation;
564 QString mErrorMessage;
565 QString mFilterPrefix;
566 QString mPropertyName;
568 QString mCurrentSRSName;
569 QMap<QString, QString> mMapTableAliasToNames;
570 const QMap< QString, QString> &mMapUnprefixedTypenameToPrefixedTypename;
571 const QMap<QString, QString> &mFieldNameToXPathMap;
572 const QMap<QString, QString> &mNamespacePrefixToUriMap;
587 QList<QgsSQLStatement::Node *> args,
588 bool lastArgIsSRSName,
590 bool &axisInversion );
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
The Context struct stores the current layer and coordinate transform context.
Context(const QgsMapLayer *layer=nullptr, const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext())
Constructs a Context from layer and transformContext.