|
static QColor | convertColor (const QVariant &data) |
| Converts ESRI JSON color data to a QColor object. More...
|
|
static QDateTime | convertDateTime (const QVariant &value) |
| Converts a date time value to a QDateTime. More...
|
|
static QVariant::Type | convertFieldType (const QString &type) |
| Converts an ESRI REST field type to a QVariant type. More...
|
|
static Qt::BrushStyle | convertFillStyle (const QString &style) |
| Converts an ESRI fill style to a Qt brush style. More...
|
|
static QgsAbstractGeometry * | convertGeometry (const QVariantMap &geometry, const QString &esriGeometryType, bool hasM, bool hasZ, QgsCoordinateReferenceSystem *crs=nullptr) |
| Converts an ESRI REST geometry JSON definition to a QgsAbstractGeometry. More...
|
|
static QgsWkbTypes::Type | convertGeometryType (const QString &type) |
| Converts an ESRI REST geometry type to a WKB type. More...
|
|
static QgsAbstractVectorLayerLabeling * | convertLabeling (const QVariantList &data) |
| Converts labeling JSON data to an equivalent QGIS vector labeling. More...
|
|
static QString | convertLabelingExpression (const QString &string) |
| Converts an ESRI labeling expression to a QGIS expression string. More...
|
|
static Qt::PenStyle | convertLineStyle (const QString &style) |
| Converts an ESRI line style to a Qt pen style. More...
|
|
static QgsFeatureRenderer * | convertRenderer (const QVariantMap &rendererData) |
| Converts renderer JSON data to an equivalent QgsFeatureRenderer. More...
|
|
static QgsCoordinateReferenceSystem | convertSpatialReference (const QVariantMap &spatialReferenceMap) |
| Converts a spatial reference JSON definition to a QgsCoordinateReferenceSystem value. More...
|
|
static QgsSymbol * | convertSymbol (const QVariantMap &definition) |
| Converts a symbol JSON definition to a QgsSymbol. More...
|
|
static QVariantMap | crsToJson (const QgsCoordinateReferenceSystem &crs) |
| Converts a crs to an ArcGIS REST JSON representation. More...
|
|
static QVariantMap | featureToJson (const QgsFeature &feature, const QgsArcGisRestContext &context, const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem(), QgsArcGisRestUtils::FeatureToJsonFlags flags=QgsArcGisRestUtils::FeatureToJsonFlags(static_cast< int >(QgsArcGisRestUtils::FeatureToJsonFlag::IncludeGeometry)|static_cast< int >(QgsArcGisRestUtils::FeatureToJsonFlag::IncludeNonObjectIdAttributes))) |
| Flags which control the behavior of converting features to JSON. More...
|
|
static QVariantMap | fieldDefinitionToJson (const QgsField &field) |
| Converts a field's definition to an ArcGIS REST JSON representation. More...
|
|
static QVariantMap | geometryToJson (const QgsGeometry &geometry, const QgsArcGisRestContext &context, const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem()) |
| Converts a geometry to an ArcGIS REST JSON representation. More...
|
|
static Qgis::ArcGisRestServiceType | serviceTypeFromString (const QString &type) |
| Converts a string value to a REST service type. More...
|
|
static QVariant | variantToAttributeValue (const QVariant &variant, QVariant::Type expectedType, const QgsArcGisRestContext &context) |
| Converts a variant to a REST attribute value. More...
|
|