Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add ESRI World Imagery Layer (#5439)

Patrick Mouldencad0cfea8270
diff --git a/config/default/common/config/metadata/layers/reference/esri/World_Imagery.md b/config/default/common/config/metadata/layers/reference/esri/World_Imagery.md
new file mode 100644
index 000000000..aae8ea8eb
--- /dev/null
+++ b/config/default/common/config/metadata/layers/reference/esri/World_Imagery.md
@@ -0,0 +1,5 @@
+The World Imagery layer is a reference layer that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. The map includes 15m TerraColor imagery at small and mid-scales (~1:591M down to ~1:288k) for the world. The map features Maxar imagery at 0.3m resolution for select metropolitan areas around the world, 0.5m resolution across the United States and parts of Western Europe, and 1m resolution imagery across the rest of the world. In addition to commercial sources, the World Imagery map features high-resolution aerial photography contributed by the GIS User Community. This imagery ranges from 0.3m to 0.03m resolution (down to ~1:280 in select communities).
+
+For more information on this map, including the terms of use, visit Esri online at [https://goto.arcgisonline.com/maps/World_Imagery](https://goto.arcgisonline.com/maps/World_Imagery)
+
+Source: Esri, Maxar, Earthstar Geographics, and the GIS User Community
\ No newline at end of file
diff --git a/config/default/common/config/wv.json/layerOrder.json b/config/default/common/config/wv.json/layerOrder.json
index c63560786..2dd9a7430 100644
--- a/config/default/common/config/wv.json/layerOrder.json
+++ b/config/default/common/config/wv.json/layerOrder.json
@@ -1,5 +1,6 @@
{
"layerOrder": [
+ "World_Imagery",
"AJAX_Alpha_Jet_Ozone",
"STAQS_G-III_Flight_Track",
"STAQS_G-V_Flight_Track",
diff --git a/config/default/common/config/wv.json/layers/reference/Reference_Labels_15m.json b/config/default/common/config/wv.json/layers/reference/Reference_Labels_15m.json
index 679250186..3b303fd50 100644
--- a/config/default/common/config/wv.json/layers/reference/Reference_Labels_15m.json
+++ b/config/default/common/config/wv.json/layers/reference/Reference_Labels_15m.json
@@ -20,7 +20,7 @@
],
"projections": {
"geographic": {
- "source": "ESRI"
+ "source": "ESRI:basemaps"
}
},
"vectorStyle": {
diff --git a/config/default/common/config/wv.json/layers/reference/esri/World_Imagery.json b/config/default/common/config/wv.json/layers/reference/esri/World_Imagery.json
new file mode 100644
index 000000000..6597e994a
--- /dev/null
+++ b/config/default/common/config/wv.json/layers/reference/esri/World_Imagery.json
@@ -0,0 +1,22 @@
+{
+ "layers": {
+ "World_Imagery": {
+ "id": "World_Imagery",
+ "title": "World Imagery",
+ "subtitle": "Sources: Esri, Maxar, Earthstar Geographics, and the GIS User Community",
+ "description": "reference/esri/World_Imagery",
+ "tags": "",
+ "group": "baselayers",
+ "layergroup": "Base Layers",
+ "format": "image/png",
+ "type": "esriMapServer",
+ "disableSnapshot": true,
+ "wrapX": false,
+ "projections": {
+ "geographic": {
+ "source": "ESRI:services"
+ }
+ }
+ }
+ }
+ }
diff --git a/config/default/common/config/wv.json/measurements/Reference Map.json b/config/default/common/config/wv.json/measurements/Reference Map.json
index 75ed4fd7a..7b88c00ac 100644
--- a/config/default/common/config/wv.json/measurements/Reference Map.json
+++ b/config/default/common/config/wv.json/measurements/Reference Map.json
@@ -3,9 +3,19 @@
"Reference Map": {
"id": "reference-map",
"title": "Reference Map",
- "subtitle": "OpenStreetMap.org, WDPA",
+ "subtitle": "Esri, OpenStreetMap.org, WDPA",
"multichoice": true,
"sources": {
+ "Esri": {
+ "id": "esri",
+ "title": "Esri",
+ "description": "",
+ "image": "",
+ "settings": [
+ "World_Imagery",
+ "Reference_Labels_15m"
+ ]
+ },
"OpenStreetMap.org": {
"id": "openstreetmap",
"title": "OpenStreetMap.org",
@@ -13,7 +23,6 @@
"image": "",
"settings": [
"Reference_Features_15m",
- "Reference_Labels_15m",
"Coastlines_15m",
"Land_Mask",
"Land_Water_Map"
diff --git a/config/default/release/config/wv.json/sources.json b/config/default/release/config/wv.json/sources.json
index 05003c2bf..7f38f55b1 100644
--- a/config/default/release/config/wv.json/sources.json
+++ b/config/default/release/config/wv.json/sources.json
@@ -211,7 +211,10 @@
"AERONET": {
"url": "https://aeronet.gsfc.nasa.gov/cgi-bin/print_web_data_v3"
},
- "ESRI": {
+ "ESRI:services": {
+ "url": "https://services.arcgisonline.com/ArcGIS/rest/services"
+ },
+ "ESRI:basemaps": {
"url": "https://basemaps.arcgis.com/arcgis/rest/services"
},
"EUMETSAT:wms": {
diff --git a/tasks/build-options/getVisMetadata.js b/tasks/build-options/getVisMetadata.js
index c66dba301..8f0f99048 100644
--- a/tasks/build-options/getVisMetadata.js
+++ b/tasks/build-options/getVisMetadata.js
@@ -109,6 +109,7 @@ const skipLayers = [
'DAILY_AERONET_ANGSTROM_440-870NM',
'NOAA_2025_ERI_WMTS',
'Reference_Labels_15m_arctic',
+ 'World_Imagery',
'EUMETSAT_RING_Airmass_RGB',
'EUMETSAT_RING_Ash_RGB',
'EUMETSAT_RING_Dust_RGB',
diff --git a/web/images/layers/previews/geographic/World_Imagery.jpg b/web/images/layers/previews/geographic/World_Imagery.jpg
new file mode 100644
index 000000000..6965aad89
Binary files /dev/null and b/web/images/layers/previews/geographic/World_Imagery.jpg differ
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 267dc40cd..1b60f1d05 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -4,6 +4,7 @@ import OlTileGridWMTS from 'ol/tilegrid/WMTS';
import OlSourceWMTS from 'ol/source/WMTS';
import OlSourceTileWMS from 'ol/source/TileWMS';
import OlSourceXYZ from 'ol/source/XYZ';
+import OlImageTile from 'ol/source/ImageTile';
import OlLayerGroup from 'ol/layer/Group';
import OlLayerTile from 'ol/layer/Tile';
import { get } from 'ol/proj';
@@ -1057,6 +1058,20 @@ export default function mapLayerBuilder(config, cache, store) {
return layer;
};
+ const createLayerEsri = (def, options, day, state) => {
+ const source = config.sources[def.source];
+ const urlParams = `${def.id}/MapServer/tile/{z}/{y}/{x}`;
+
+ const url = `${source.url}/${urlParams}`;
+
+ return new OlLayerTile({
+ extent: [-180, -90, 180, 90],
+ source: new OlImageTile({
+ url,
+ }),
+ });
+ };
+
const createIndexedVectorLayer = async (def, options, day, state) => {
const { proj: { selected } } = state;
const { crs } = selected;
@@ -1246,6 +1261,9 @@ export default function mapLayerBuilder(config, cache, store) {
case 'composite:wmts':
layer = await getLayer(createLayerCompositeWMTS, def, options, attributes, wrapLayer);
break;
+ case 'esriMapServer':
+ layer = await getLayer(createLayerEsri, def, options, attributes, wrapLayer);
+ break;
default:
throw new Error(`Unknown layer type: ${type}`);
}