Skip to content

fix(webdata): drop USGS Imagery Topo, which The National Map no longer serves - #3231

Merged
Mavrick-F merged 1 commit into
opengeos:mainfrom
bkcraft-1:fix/drop-usgs-imagery-topo
Nov 28, 2026
Merged

Mavrick-F merged 1 commit into
opengeos:mainfrom
bkcraft-1:fix/drop-usgs-imagery-topo

Conversation

@bkcraft-1

@bkcraft-1 bkcraft-1 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The National Map catalog lists basemap/USGSImageryTopo, but USGS has removed that service:

  • https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer?f=json answers {"error": {"code": 404, "message": "Service USGSImageryTopo/MapServer not found"}}.
  • https://basemap.nationalmap.gov/arcgis/rest/services?f=json lists only USGSHydroCached, USGSImageryOnly, USGSShadedReliefOnly and USGSTopo.

Checked 2026-11-28. The other 25 *.nationalmap.gov addresses in the catalog answered normally the same day.

In 0.8.0 the dead entry fails silently:

rustgis-cli run --cmd 'nationalMap.add={"service":"basemap/USGSImageryTopo"}' \
  --cmd 'map.goToXY={"lon":-83.70,"lat":33.165,"scale":50000}' \
  --cmd 'share.exportMap={"path":"dead.png"}'

adds a layer named "USGS Imagery Topo", reports no error or notice, and exports a blank 9.5 KB PNG.

This removes the entry, the same way the Special Edition 250K Maps index was left out, and updates the count in the test and the user guide (31 to 30).

Testing

Not run locally. The change is one catalog entry, one doc comment, the count in national_map_catalog and the count in docs/user-guide/web-data.md.

UI evidence

The National Map list has one entry fewer. No other visible UI change.

Related issue

None found: no issue or pull request mentions USGSImageryTopo.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated The National Map catalog to list 30 services instead of 31.
    • The catalog documentation no longer includes the Edition 250K Maps index or the USGS Imagery Topo basemap.

…r 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 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The National Map catalog no longer includes the USGS Imagery Topo basemap. The catalog test and user guide now report 30 services.

Changes: National Map Catalog

Layer / File(s) Summary
Catalog entries and service count
crates/engine/src/cmd/webdata.rs, docs/user-guide/web-data.md
The catalog documentation identifies the USGS Imagery Topo basemap as excluded, and the catalog removes its service entry. The test and user guide now report 30 services.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: giswqs

Merge Risk: Minimal · up to 72554

This change removes a USGS Imagery Topo basemap that reportedly no longer exists, so it no longer exports a blank map. The catalog, test and user guide now agree on 30 services. No merge-blocking risk is evident.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: dropping the USGS Imagery Topo entry from the catalog because The National Map no longer serves it. The raw summary, PR objectives, and description all describe removi…
Description check Passed The description follows the template. It has a Summary that explains the change and the reason (a 404 response and a silent blank export in 0.8.0), and a Testing section that states tests were not run…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: dropping the USGS Imagery Topo entry from the catalog because The National Map no longer serves it. The raw summary, PR objectives, and description all describe removing the basemap/USGSImageryTopo entry and updating the count from 31 to 30. The title is concise, specific, and uses the conventional fix(scope) prefix.

Full details: Description check

Explanation

The description follows the template. It has a Summary that explains the change and the reason (a 404 response and a silent blank export in 0.8.0), and a Testing section that states tests were not run and why. The UI evidence section states no visible UI change beyond one fewer list entry, which is a reasonable reading of the template's instruction. The Related issue section states none was found. The description is complete and specific.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the map at dawn,
One topo tile is now withdrawn.
Thirty services mark the way,
The guide and test agree today.
Soft paws hop beneath the moon,
The catalog is counted true.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a00029bf-fed3-4512-b592-e10dd2168057
Commits

Reviewing files that changed from the base of the PR and between d364137 and 7255441.

Files selected for processing: 2

  • crates/engine/src/cmd/webdata.rs
  • docs/user-guide/web-data.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-3231/
Web app https://preview.rustgis.app/pr-3231/app/
Commit 7255441

GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the preview label (once per commit).

@Mavrick-F
Mavrick-F added this pull request to the merge queue Nov 28, 2026
Merged via the queue into opengeos:main with commit aea8413 Nov 28, 2026
28 checks passed
@bkcraft-1
bkcraft-1 deleted the fix/drop-usgs-imagery-topo branch November 28, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants