69 , transformContext( transformContext )
101 static QgsRectangle rectangleFromGMLBox(
const QDomNode &boxNode );
104 static QgsRectangle rectangleFromGMLEnvelope(
const QDomNode &envelopeNode );
111 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
114 bool invertAxisOrientation,
115 const QString &gmlIdBase,
122 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
const QString &format,
int precision = 17 );
128 static QDomElement geometryToGML(
const QgsGeometry &geometry, QDomDocument &doc,
int precision = 17 );
141 static QDomElement rectangleToGMLBox(
QgsRectangle *box, QDomDocument &doc,
143 bool invertAxisOrientation,
150 static QDomElement rectangleToGMLEnvelope(
QgsRectangle *env, QDomDocument &doc,
int precision = 17 );
157 static QDomElement rectangleToGMLEnvelope(
QgsRectangle *env, QDomDocument &doc,
159 bool invertAxisOrientation,
164 static QColor colorFromOgcFill(
const QDomElement &fillElement );
175 static QDomElement expressionToOgcFilter( const
QgsExpression &exp, QDomDocument &doc, QString *errorMessage =
nullptr );
204 static QDomElement expressionToOgcFilter( const
QgsExpression &exp,
207 FilterVersion filterVersion,
208 const QString &namespacePrefix,
209 const QString &namespaceURI,
212 bool honourAxisOrientation,
213 bool invertAxisOrientation,
214 QString *errorMessage =
nullptr )
SIP_SKIP;
222 static QDomElement expressionToOgcExpression( const
QgsExpression &exp, QDomDocument &doc, QString *errorMessage =
nullptr,
223 bool requiresFilterElement = false );
230 static QDomElement elseFilterExpression( QDomDocument &doc );
237 static QDomElement expressionToOgcExpression( const
QgsExpression &exp,
240 FilterVersion filterVersion,
243 bool honourAxisOrientation,
244 bool invertAxisOrientation,
245 QString *errorMessage =
nullptr,
246 bool requiresFilterElement = false );
293 static QDomElement SQLStatementToOgcFilter(
const QgsSQLStatement &statement,
297 const QList<LayerProperties> &layerProperties,
298 bool honourAxisOrientation,
299 bool invertAxisOrientation,
300 const QMap< QString, QString> &mapUnprefixedTypenameToPrefixedTypename,
301 QString *errorMessage =
nullptr )
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 );
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.
QgsCoordinateTransformContext transformContext