Skip to content

Add Chesapeake Bay Watershed Land Cover legend#1308

Merged
giswqs merged 1 commit intomasterfrom
add-chesapeake-legend
Mar 15, 2026
Merged

Add Chesapeake Bay Watershed Land Cover legend#1308
giswqs merged 1 commit intomasterfrom
add-chesapeake-legend

Conversation

@giswqs
Copy link
Copy Markdown
Member

@giswqs giswqs commented Mar 15, 2026

Summary

  • Add built-in legend for the Chesapeake Bay Watershed Land Cover dataset with 13 land cover classes (NoData, Water, Wetlands, Tree Canopy, Shrubland, Herbaceous Vegetation, Barren, Structures, Impervious Surfaces, Impervious Roads, Tree Canopy over Structures, Tree Canopy over Impervious Surfaces, Tree Canopy over Impervious Roads)

Test plan

  • Verify leafmap.builtin_legends["Chesapeake"] returns the correct legend dictionary
  • Test Map.add_legend(builtin_legend="Chesapeake") renders correctly on a map

Add built-in legend for the Chesapeake Bay Watershed Land Cover dataset
with 13 land cover classes.
Copilot AI review requested due to automatic review settings March 15, 2026 23:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new built-in legend entry for the Chesapeake Bay Watershed Land Cover dataset so users can reference it via builtin_legend="Chesapeake" (or leafmap.builtin_legends["Chesapeake"]) when rendering map legends.

Changes:

  • Add a "Chesapeake" entry to builtin_legends with 13 land cover classes and associated colors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread leafmap/legends.py
Comment on lines +423 to +437
"Chesapeake": {
"NoData": "000000",
"Water": "00c5ff",
"Wetlands": "00a884",
"Tree Canopy": "267300",
"Shrubland": "4ce600",
"Herbaceous Vegetation": "b0ff00",
"Barren": "ffaa00",
"Structures": "ff0000",
"Impervious Surfaces": "9c9c9c",
"Impervious Roads": "373737",
"Tree Canopy over Structures": "4d7847",
"Tree Canopy over Impervious Surfaces": "b4d79e",
"Tree Canopy over Impervious Roads": "ffff73",
},
@github-actions
Copy link
Copy Markdown

@github-actions github-actions bot temporarily deployed to pull request March 15, 2026 23:34 Inactive
@giswqs giswqs merged commit 0d86051 into master Mar 15, 2026
20 checks passed
@giswqs giswqs deleted the add-chesapeake-legend branch March 15, 2026 23:48
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