38 static QgsGeometry* geometryFromGML(
const QString& xmlString );
42 static QgsGeometry* geometryFromGML(
const QDomNode& geometryNode );
45 static QgsRectangle rectangleFromGMLBox(
const QDomNode& boxNode );
48 static QgsRectangle rectangleFromGMLEnvelope(
const QDomNode& envelopeNode );
53 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc, QString format );
58 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc );
63 static QDomElement rectangleToGMLBox(
QgsRectangle* box, QDomDocument& doc );
68 static QDomElement rectangleToGMLEnvelope(
QgsRectangle* env, QDomDocument& doc );
72 static QgsExpression* expressionFromOgcFilter(
const QDomElement& element );
79 static QDomElement expressionToOgcFilter(
const QgsExpression& exp, QDomDocument& doc, QString* errorMessage = 0 );
83 static QgsGeometry* geometryFromGMLPoint(
const QDomElement& geometryElement );
85 static QgsGeometry* geometryFromGMLLineString(
const QDomElement& geometryElement );
87 static QgsGeometry* geometryFromGMLPolygon(
const QDomElement& geometryElement );
89 static QgsGeometry* geometryFromGMLMultiPoint(
const QDomElement& geometryElement );
91 static QgsGeometry* geometryFromGMLMultiLineString(
const QDomElement& geometryElement );
93 static QgsGeometry* geometryFromGMLMultiPolygon(
const QDomElement& geometryElement );
98 static bool readGMLCoordinates(
QgsPolyline &coords,
const QDomElement elem );
105 static bool readGMLPositions(
QgsPolyline &coords,
const QDomElement elem );
112 static QDomElement createGMLCoordinates(
const QgsPolyline &points, QDomDocument& doc );
118 static QDomElement createGMLPositions(
const QgsPolyline &points, QDomDocument& doc );
121 static QgsExpression::Node* nodeFromOgcFilter( QDomElement &element, QString &errorMessage );
131 static QgsExpression::Node* nodeLiteralFromOgcFilter( QDomElement &element, QString &errorMessage );
135 static QgsExpression::Node* nodeIsBetweenFromOgcFilter( QDomElement& element, QString& errorMessage );
139 static QDomElement expressionNodeToOgcFilter(
const QgsExpression::Node* node, QDomDocument& doc, QString& errorMessage );
142 static QDomElement expressionLiteralToOgcFilter(
const QgsExpression::NodeLiteral* node, QDomDocument& doc, QString& errorMessage );
143 static QDomElement expressionColumnRefToOgcFilter(
const QgsExpression::NodeColumnRef* node, QDomDocument& doc, QString& errorMessage );
145 static QDomElement expressionFunctionToOgcFilter(
const QgsExpression::NodeFunction* node, QDomDocument& doc, QString& errorMessage );
149 #endif // QGSOGCUTILS_H