37 static QgsGeometry* geometryFromGML(
const QString& xmlString );
41 static QgsGeometry* geometryFromGML(
const QDomNode& geometryNode );
44 static QgsRectangle rectangleFromGMLBox(
const QDomNode& boxNode );
47 static QgsRectangle rectangleFromGMLEnvelope(
const QDomNode& envelopeNode );
52 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc, QString format,
const int &precision = 17 );
57 static QDomElement geometryToGML(
QgsGeometry* geometry, QDomDocument& doc,
const int &precision = 17 );
62 static QDomElement rectangleToGMLBox(
QgsRectangle* box, QDomDocument& doc,
const int &precision = 17 );
67 static QDomElement rectangleToGMLEnvelope(
QgsRectangle* env, QDomDocument& doc,
const int &precision = 17 );
71 static QColor colorFromOgcFill(
const QDomElement& fillElement );
74 static QgsExpression* expressionFromOgcFilter(
const QDomElement& element );
81 static QDomElement expressionToOgcFilter(
const QgsExpression& exp, QDomDocument& doc, QString* errorMessage = 0 );
85 static QgsGeometry* geometryFromGMLPoint(
const QDomElement& geometryElement );
87 static QgsGeometry* geometryFromGMLLineString(
const QDomElement& geometryElement );
89 static QgsGeometry* geometryFromGMLPolygon(
const QDomElement& geometryElement );
91 static QgsGeometry* geometryFromGMLMultiPoint(
const QDomElement& geometryElement );
93 static QgsGeometry* geometryFromGMLMultiLineString(
const QDomElement& geometryElement );
95 static QgsGeometry* geometryFromGMLMultiPolygon(
const QDomElement& geometryElement );
100 static bool readGMLCoordinates(
QgsPolyline &coords,
const QDomElement &elem );
107 static bool readGMLPositions(
QgsPolyline &coords,
const QDomElement &elem );
114 static QDomElement createGMLCoordinates(
const QgsPolyline &points, QDomDocument& doc );
120 static QDomElement createGMLPositions(
const QgsPolyline &points, QDomDocument& doc );
123 static QgsExpression::Node* nodeFromOgcFilter( QDomElement &element, QString &errorMessage );
133 static QgsExpression::Node* nodeLiteralFromOgcFilter( QDomElement &element, QString &errorMessage );
137 static QgsExpression::Node* nodeIsBetweenFromOgcFilter( QDomElement& element, QString& errorMessage );
141 static QDomElement expressionNodeToOgcFilter(
const QgsExpression::Node* node, QDomDocument& doc, QString& errorMessage );
144 static QDomElement expressionLiteralToOgcFilter(
const QgsExpression::NodeLiteral* node, QDomDocument& doc, QString& errorMessage );
145 static QDomElement expressionColumnRefToOgcFilter(
const QgsExpression::NodeColumnRef* node, QDomDocument& doc, QString& errorMessage );
147 static QDomElement expressionFunctionToOgcFilter(
const QgsExpression::NodeFunction* node, QDomDocument& doc, QString& errorMessage );
151 #endif // QGSOGCUTILS_H