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>() );
290 static QDomElement SQLStatementToOgcFilter(
const QgsSQLStatement &statement,
294 const QList<LayerProperties> &layerProperties,
295 bool honourAxisOrientation,
296 bool invertAxisOrientation,
297 const QMap< QString, QString> &mapUnprefixedTypenameToPrefixedTypename,
298 QString *errorMessage =
nullptr,
299 const QMap<QString, QString> &fieldNameToXPathMap = QMap<QString, QString>(),
300 const QMap<QString, QString> &namespacePrefixToUriMap = QMap<QString, QString>() )
SIP_SKIP;
305 static
QgsGeometry geometryFromGMLPoint( const QDomElement &geometryElement );
307 static
QgsGeometry geometryFromGMLLineString( const QDomElement &geometryElement );
309 static
QgsGeometry geometryFromGMLPolygon( const QDomElement &geometryElement );
311 static
QgsGeometry geometryFromGMLMultiPoint( const QDomElement &geometryElement );
313 static
QgsGeometry geometryFromGMLMultiLineString( const QDomElement &geometryElement );
315 static
QgsGeometry geometryFromGMLMultiPolygon( const QDomElement &geometryElement );
321 static QDomElement filterElement(
333 static
bool readGMLCoordinates(
QgsPolylineXY &coords, const QDomElement &elem );
343 static
bool readGMLPositions(
QgsPolylineXY &coords, const QDomElement &elem );
352 static QDomElement createGMLCoordinates( const
QgsPolylineXY &points, QDomDocument &doc );
360 static QDomElement createGMLPositions( const
QgsPolylineXY &points, QDomDocument &doc );
377 static
QgsExpressionNode *nodeIsBetweenFromOgcFilter( QDomElement &element, QString &errorMessage );
396 const QString &namespacePrefix,
397 const QString &namespaceURI,
400 bool honourAxisOrientation,
401 bool invertAxisOrientation,
402 const QMap<QString, QString> &fieldNameToXPathMap,
403 const QMap<QString, QString> &namespacePrefixToUriMap
420 const QString &mNamespacePrefix;
421 const QString &mNamespaceURI;
422 const QString &mGeometryName;
423 const QString &mSrsName;
424 bool mInvertAxisOrientation;
425 const QMap<QString, QString> &mFieldNameToXPathMap;
426 const QMap<QString, QString> &mNamespacePrefixToUriMap;
427 QString mErrorMessage;
428 QString mFilterPrefix;
429 QString mPropertyName;
539 const QList<QgsOgcUtils::LayerProperties> &layerProperties,
540 bool honourAxisOrientation,
541 bool invertAxisOrientation,
542 const QMap< QString, QString> &mapUnprefixedTypenameToPrefixedTypename,
543 const QMap<QString, QString> &fieldNameToXPathMap,
544 const QMap<QString, QString> &namespacePrefixToUriMap );
560 const QList<QgsOgcUtils::LayerProperties> &mLayerProperties;
561 bool mHonourAxisOrientation;
562 bool mInvertAxisOrientation;
563 QString mErrorMessage;
564 QString mFilterPrefix;
565 QString mPropertyName;
567 QString mCurrentSRSName;
568 QMap<QString, QString> mMapTableAliasToNames;
569 const QMap< QString, QString> &mMapUnprefixedTypenameToPrefixedTypename;
570 const QMap<QString, QString> &mFieldNameToXPathMap;
571 const QMap<QString, QString> &mNamespacePrefixToUriMap;
586 QList<QgsSQLStatement::Node *> args,
587 bool lastArgIsSRSName,
589 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.