Skip to content

Use official EPSG:3857 code instead of deprecated EPSG:900913 in projection docs#3101

Merged
mfedderly merged 2 commits into
Turfjs:masterfrom
cycsmail:projection-epsg-3857-2891
Jul 22, 2026
Merged

Use official EPSG:3857 code instead of deprecated EPSG:900913 in projection docs#3101
mfedderly merged 2 commits into
Turfjs:masterfrom
cycsmail:projection-epsg-3857-2891

Conversation

@cycsmail

Copy link
Copy Markdown
Contributor

The projection package referred to Mercator as EPSG:900913, the old deprecated Google code. Swapped it for the official EPSG:3857 in the README, the JSDoc, and the inline comments. Also updated the proj4 calls in the tests to EPSG:3857; proj4 treats the two as aliases so the expected values are unchanged.

No behaviour change, it's just docs and comments. The projection tape tests still pass (47/47).

Resolves #2891

@mfedderly mfedderly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you!

@mfedderly
mfedderly merged commit c7e8fa3 into Turfjs:master Jul 22, 2026
5 checks passed
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.

Consider changing documentation from EPSG:900913 to EPSG:3857

2 participants