Skip to content

feat(osm-equity): add North America / US region bboxes#25

Merged
rlemke merged 1 commit into
mainfrom
feat/osm-equity-north-america-bbox
Jul 14, 2026
Merged

feat(osm-equity): add North America / US region bboxes#25
rlemke merged 1 commit into
mainfrom
feat/osm-equity-north-america-bbox

Conversation

@rlemke

@rlemke rlemke commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Adds north america and united states bounding boxes so the osm-equity study runs at continent/national scale instead of falling back to the Oakland default. ruff clean; 13 tests pass.

🤖 Generated with Claude Code

…oxes

Lets the study run at continent/national scale (regions previously fell
back to the Oakland default bbox, which would mislabel the map).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rlemke rlemke merged commit f3d34a8 into main Jul 14, 2026
17 of 20 checks passed
@rlemke rlemke deleted the feat/osm-equity-north-america-bbox branch July 14, 2026 00:41

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds bounding boxes for "north america" and "united states" to the geographic utility dictionary. The review feedback suggests expanding the "north america" bounding box to include northern Canada and Greenland, and renaming "united states" to "conterminous united states" to accurately reflect that it excludes Alaska and Hawaii.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

"california": (-124.41, 32.53, -114.13, 42.01),
"los angeles, ca": (-118.67, 33.70, -118.16, 34.34),
"san francisco, ca": (-122.52, 37.70, -122.36, 37.83),
"north america": (-168.0, 5.0, -52.0, 72.0),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The bounding box for "north america" (-168.0, 5.0, -52.0, 72.0) excludes the high Arctic islands of northern Canada (which extend up to ~83° N) and Greenland (which is geographically part of North America and extends to ~83.6° N and -11.3° W). If the study is intended to cover the entire continent, consider expanding the bounding box limits to fully encompass these regions.

Suggested change
"north america": (-168.0, 5.0, -52.0, 72.0),
"north america": (-168.0, 5.0, -10.0, 84.0),

"los angeles, ca": (-118.67, 33.70, -118.16, 34.34),
"san francisco, ca": (-122.52, 37.70, -122.36, 37.83),
"north america": (-168.0, 5.0, -52.0, 72.0),
"united states": (-124.8, 24.4, -66.9, 49.4),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The bounding box provided for "united states" (-124.8, 24.4, -66.9, 49.4) specifically covers the Conterminous United States (CONUS), excluding Alaska and Hawaii. To prevent confusion and avoid potential issues when real TIGER tracts or national-scale datasets are integrated (as noted in the TODO(real) comments), consider renaming this key to "conterminous united states" to accurately reflect its geographic scope.

Suggested change
"united states": (-124.8, 24.4, -66.9, 49.4),
"conterminous united states": (-124.8, 24.4, -66.9, 49.4),

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.

1 participant