39 static QgsGeometry* geometryFromGML(
const QString& xmlString );
43 static QgsGeometry* geometryFromGML(
const QDomNode& geometryNode );
46 static QgsRectangle rectangleFromGMLBox(
const QDomNode& boxNode );
49 static QgsRectangle rectangleFromGMLEnvelope(
const QDomNode& envelopeNode );
54 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc, QString format );
59 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc );
64 static QDomElement rectangleToGMLBox(
QgsRectangle* box, QDomDocument& doc );
69 static QDomElement rectangleToGMLEnvelope(
QgsRectangle* env, QDomDocument& doc );
73 static QColor colorFromOgcFill(
const QDomElement& fillElement );
76 static QgsExpression* expressionFromOgcFilter(
const QDomElement& element );
83 static QDomElement expressionToOgcFilter(
const QgsExpression& exp, QDomDocument& doc, QString* errorMessage = 0 );
87 static QgsGeometry* geometryFromGMLPoint(
const QDomElement& geometryElement );
89 static QgsGeometry* geometryFromGMLLineString(
const QDomElement& geometryElement );
91 static QgsGeometry* geometryFromGMLPolygon(
const QDomElement& geometryElement );
93 static QgsGeometry* geometryFromGMLMultiPoint(
const QDomElement& geometryElement );
95 static QgsGeometry* geometryFromGMLMultiLineString(
const QDomElement& geometryElement );
97 static QgsGeometry* geometryFromGMLMultiPolygon(
const QDomElement& geometryElement );
102 static bool readGMLCoordinates(
QgsPolyline &coords,
const QDomElement &elem );
109 static bool readGMLPositions(
QgsPolyline &coords,
const QDomElement &elem );
116 static QDomElement createGMLCoordinates(
const QgsPolyline &points, QDomDocument& doc );
122 static QDomElement createGMLPositions(
const QgsPolyline &points, QDomDocument& doc );
125 static QgsExpression::Node* nodeFromOgcFilter( QDomElement &element, QString &errorMessage );
135 static QgsExpression::Node* nodeLiteralFromOgcFilter( QDomElement &element, QString &errorMessage );
139 static QgsExpression::Node* nodeIsBetweenFromOgcFilter( QDomElement& element, QString& errorMessage );
143 static QDomElement expressionNodeToOgcFilter(
const QgsExpression::Node* node, QDomDocument& doc, QString& errorMessage );
146 static QDomElement expressionLiteralToOgcFilter(
const QgsExpression::NodeLiteral* node, QDomDocument& doc, QString& errorMessage );
147 static QDomElement expressionColumnRefToOgcFilter(
const QgsExpression::NodeColumnRef* node, QDomDocument& doc, QString& errorMessage );
149 static QDomElement expressionFunctionToOgcFilter(
const QgsExpression::NodeFunction* node, QDomDocument& doc, QString& errorMessage );
153 #endif // QGSOGCUTILS_H