Raster data that is retrieved from an ArcGIS Image Service. More...
Public Functions Reimplemented Public Functions(deprecated)
virtual Esri::ArcGISRuntime::Credential * credential() const override (deprecated)
virtual Esri::ArcGISRuntime::RequestConfiguration requestConfiguration() const override (deprecated)
virtual void setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration) override virtual QUrl url() const override Detailed Description
An ArcGIS image service provides access to raster data through a web service. A single raster dataset or a mosaic dataset which contains a collection of raster datasets can be served as one image service. The mosaic dataset can dynamically process and mosaic the images on the fly. An image service supports accessing both the mosaicked image and its catalog, as well as individual rasters in the catalog. An image service raster allows you to display raster data from image services using a RasterLayer. It also allows you to apply service-defined or client-defined rendering rules by setting RenderingRule on it. You can pass an image service raster as a raster input to a RasterFunction to work with local raster functions.
Create an ImageServiceRaster:
// create an image service raster ImageServiceRaster* imageServiceRaster = new ImageServiceRaster( QUrl(QStringLiteral("https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades_subsets/ImageServer")), this); // zoom to the center of the raster once it's loaded connect(imageServiceRaster, &ImageServiceRaster::doneLoading, this, [this]() { constexpr double scale = 200000.; Viewpoint vpCenter = Viewpoint(Point(-13643095.660131, 4550009.846004, SpatialReference::webMercator()), scale); m_mapView->setViewpointAsync(vpCenter); }); // create a raster layer using the image service raster m_rasterLayer = new RasterLayer(imageServiceRaster, this); // add the raster layer to the map's operational layers m_map->operationalLayers()->append(m_rasterLayer);
Relevant samples:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4