Skip to content

Commit

Permalink
Update Raster Layer Service sample URL (#1380) (#1381)
Browse files Browse the repository at this point in the history
* Update Readme URL

* Update RasterLayerService.cpp

* Update README.md

* Update RasterLayerService.qml
  • Loading branch information
Gela authored Apr 26, 2022
1 parent 4dce433 commit f6bb4ba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Simply launch the sample to see a raster from an image service being used on a m

## About the data

This sample uses a [NOAA raster image service](https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer). The service computes a hillshade image from the depth (in meters) of U.S. coastal waters.
This sample uses a [NOAA raster image service](https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades_subsets/ImageServer). The service computes a hillshade image from the depth (in meters) of U.S. coastal waters.

## Tags

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void RasterLayerService::componentComplete()
//! [ImageServiceRaster Create a new image service raster]
// create an image service raster
ImageServiceRaster* imageServiceRaster = new ImageServiceRaster(
QUrl(QStringLiteral("https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer")), this);
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]()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Simply launch the sample to see a raster from an image service being used on a m

## About the data

This sample uses a [NOAA raster image service](https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer). The service computes a hillshade image from the depth (in meters) of U.S. coastal waters.
This sample uses a [NOAA raster image service](https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades_subsets/ImageServer). The service computes a hillshade image from the depth (in meters) of U.S. coastal waters.

## Tags

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Rectangle {
// create the raster layer from an image service raster
ImageServiceRaster {
id: imageServiceRaster
url: "https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer"
url: "https://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades_subsets/ImageServer"

// zoom to the center of the raster once it's loaded
onLoadStatusChanged: {
Expand Down

0 comments on commit f6bb4ba

Please sign in to comment.