Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions crates/engine/src/cmd/webdata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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(
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/web-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading