Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPSG.io API endpoints will be deprecated after the 1st of February 2025 #11570

Open
petr-hajek opened this issue Dec 5, 2024 · 2 comments
Open

Comments

@petr-hajek
Copy link

r = requests.get(f"https://epsg.io/?format=json&q={srid}", timeout=60)

HI, EPSG.io API endpoints will be deprecated after the 1st of February 2025: https://epsg.io/docs#migration

This will affect the functionality of your epsg2bbox method. I am not sure to what extent it is used in your project.

You can easily replace the endpoint with a new endpoint from MapTiler. However the new endpoint requires MapTiler API key. You could adjust the code to allow users of this project to add their MapTiler API as an env variable. They can get the API key with a Free plan (up to 100K request per month).

More extensive documentation: https://documentation.maptiler.com/hc/en-us/articles/360020950098-How-to-migrate-from-EPSG-io-to-MapTiler-Coordinates-API

@sbrunner
Copy link
Member

sbrunner commented Dec 5, 2024

Thanks @petr-hajek for the notification :-)

@petr-hajek
Copy link
Author

Alternative would be to fetch the https://epsg.io/{srid}.proj (if you have the exact coors id) and then implement the transformation yourself using pyproj

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

No branches or pull requests

2 participants