Skip to content

Add Equal Earth (ESRI:54035) to the WMS CRS list - #48

Open
corentincarton wants to merge 1 commit into
masterfrom
feature/equal-earth-crs
Open

corentincarton wants to merge 1 commit into
masterfrom
feature/equal-earth-crs

Conversation

@corentincarton

Copy link
Copy Markdown

Summary

Adds ESRI:54035 (WGS84 World Equal Earth) to the list of CRSs returned by wmscrs(), which WMS servers built on Magics (skinnywms) advertise in their GetCapabilities document. The extent is the whole globe in projected metres, computed with PROJ:

x (m) y (m)
min -17 243 959.06 -8 392 927.60
max 17 243 959.06 8 392 927.60

Release order: merge and release after ecmwf/magics#120 is released. skinnywms passes the CRS name straight to Magics as subpage_map_projection, so advertising ESRI:54035 against an older Magics library would make every GetMap in that CRS fail. The skinnywms side is ecmwf/skinnywms (link below).

Related, independent one-liner in the same function: #47 (EPSG:32762EPSG:32761).

Testing

Used from a skinnywms checkout against a Magics build of ecmwf/magics#120: GetCapabilities 1.3.0 and 1.1.1 list ESRI:54035 with the bounding box above, GetMap requests in ESRI:54035 return correct images (full extent and edge tiles). isort, black and flake8 are clean on the change.

🤖 Generated with Claude Code

wmscrs() lists the coordinate reference systems that WMS servers built on
Magics (e.g. skinnywms) advertise in their GetCapabilities document. Add
ESRI:54035 (WGS84 World Equal Earth) with its extent in projected metres,
computed with PROJ for the whole globe.

Requires a Magics library that accepts ESRI:54035 as subpage_map_projection
(ecmwf/magics feature/equal-earth-projection).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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