15 #ifndef QGSARCGISRESTUTILS_H
16 #define QGSARCGISRESTUTILS_H
24 #include <QStringList>
65 static QVariant::Type convertFieldType(
const QString &type );
116 static QString convertLabelingExpression(
const QString &
string );
121 static QColor convertColor(
const QVariant &data );
126 static Qt::PenStyle convertLineStyle(
const QString &style );
131 static Qt::BrushStyle convertFillStyle(
const QString &style );
136 static QDateTime convertDateTime(
const QVariant &value );
143 static std::unique_ptr< QgsPoint > convertPoint(
const QVariantList &list,
QgsWkbTypes::Type type );
150 static std::unique_ptr< QgsCircularString > convertCircularString(
const QVariantMap &data,
QgsWkbTypes::Type type,
const QgsPoint &startPoint );
155 static std::unique_ptr< QgsCompoundCurve > convertCompoundCurve(
const QVariantList &list,
QgsWkbTypes::Type type );
160 static std::unique_ptr< QgsPoint > convertGeometryPoint(
const QVariantMap &data,
QgsWkbTypes::Type pointType );
165 static std::unique_ptr< QgsMultiPoint > convertMultiPoint(
const QVariantMap &geometryData,
QgsWkbTypes::Type pointType );
170 static std::unique_ptr< QgsMultiCurve > convertGeometryPolyline(
const QVariantMap &data,
QgsWkbTypes::Type pointType );
175 static std::unique_ptr< QgsMultiSurface > convertGeometryPolygon(
const QVariantMap &data,
QgsWkbTypes::Type pointType );
180 static std::unique_ptr< QgsPolygon > convertEnvelope(
const QVariantMap &data );
182 static std::unique_ptr< QgsLineSymbol > parseEsriLineSymbolJson(
const QVariantMap &symbolData );
183 static std::unique_ptr< QgsFillSymbol > parseEsriFillSymbolJson(
const QVariantMap &symbolData );
184 static std::unique_ptr< QgsFillSymbol > parseEsriPictureFillSymbolJson(
const QVariantMap &symbolData );
185 static std::unique_ptr< QgsMarkerSymbol > parseEsriMarkerSymbolJson(
const QVariantMap &symbolData );
186 static std::unique_ptr< QgsMarkerSymbol > parseEsriPictureMarkerSymbolJson(
const QVariantMap &symbolData );
190 friend class TestQgsArcGisRestUtils;
MarkerShape
Marker shapes.
Abstract base class for all geometries.
Abstract base class - its implementations define different approaches to the labeling of a vector lay...
Utility functions for working with ArcGIS REST services.
Circular string geometry type.
Compound curve geometry type.
This class represents a coordinate reference system (CRS).
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Container of fields for a vector layer.
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
A line symbol type, for rendering LineString and MultiLineString geometries.
A marker symbol type, for rendering Point and MultiPoint geometries.
Multi curve geometry collection.
Multi point geometry collection.
Multi surface geometry collection.
network access manager for QGIS
Point geometry type, with support for z-dimension and m-values.
Abstract base class for all rendered symbols.
Type
The WKB type describes the number of dimensions a geometry has.
const QgsCoordinateReferenceSystem & crs