From 7255441b88377668d6c09519c1bfb6a8e2a0e763 Mon Sep 17 00:00:00 2001 From: Brandon Craft <175969951+bkcraft-1@users.noreply.github.com> Date: Sat, 28 Nov 2026 09:31:16 -0500 Subject: [PATCH] fix(webdata): drop USGS Imagery Topo, which The National Map no longer serves The USGSImageryTopo MapServer answers 404 and is gone from the basemap service list. Adding it reported no error and drew a blank map. Co-Authored-By: Claude Fable 5.2 --- crates/engine/src/cmd/webdata.rs | 14 ++------------ docs/user-guide/web-data.md | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/crates/engine/src/cmd/webdata.rs b/crates/engine/src/cmd/webdata.rs index d65a153630..47d69b054b 100644 --- a/crates/engine/src/cmd/webdata.rs +++ b/crates/engine/src/cmd/webdata.rs @@ -57,7 +57,7 @@ const fn nm(id: &'static str, category: &'static str, title: &'static str, url: } /// The National Map's map services, by category (GeoLibre's catalog of them, less the Special -/// Edition 250K Maps index, which the server no longer has). +/// Edition 250K Maps index and the USGS Imagery Topo basemap, which the servers no longer have). const NATIONAL_MAP: &[NmService] = &[ NmService { max_zoom: 16, @@ -79,16 +79,6 @@ const NATIONAL_MAP: &[NmService] = &[ Mode::Tile, ) }, - NmService { - max_zoom: 16, - ..nm( - "basemap/USGSImageryTopo", - "Basemaps", - "USGS Imagery Topo", - "https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer", - Mode::Tile, - ) - }, NmService { max_zoom: 16, ..nm( @@ -463,7 +453,7 @@ mod tests { #[test] fn national_map_catalog() { - assert_eq!(NATIONAL_MAP.len(), 31); + assert_eq!(NATIONAL_MAP.len(), 30); for s in NATIONAL_MAP { assert!(NATIONAL_MAP_CATEGORIES.contains(&s.category), "{}", s.id); assert!(s.url.starts_with("https://") && s.url.ends_with("Server"), "{}", s.id); diff --git a/docs/user-guide/web-data.md b/docs/user-guide/web-data.md index 466ca24c19..b0a41f15e0 100644 --- a/docs/user-guide/web-data.md +++ b/docs/user-guide/web-data.md @@ -764,7 +764,7 @@ words: **Add** draws the whole map or one layer such as Flood Hazard Zones alone **Features** downloads a layer's features in the view (up to the server's limit). Its flood layers are drawn only from zoom 15 (closer than about 1:36,000), and FEMA's server can be slow to answer. -**The National Map…** lists 31 map services of the USGS +**The National Map…** lists 30 map services of the USGS [The National Map](https://www.usgs.gov/programs/national-geospatial-program/national-map) and partners by category (basemaps, hydrography, elevation, imagery, cartography, hazards, other data, indexes), searched by words; **Add** adds one as a tile layer (the basemaps from their tile caches,