cockroachdb / cockroachdb/cockroach

pkg/cmd/generate-spatial-ref-sys EPSG.io API endpoints will be deprecated after the 1st of February 2025

Open
#136,829 4 comments 0 reactions 0 assignees View on GitHub
A-spatial C-bug O-community T-spatial
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**
https://github.com/cockroachdb/cockroach/blob/453c827b212c9a77a19dba87eb81d194261c94d0/pkg/cmd/generate-spatial-ref-sys/main.go#L139

Hi, EPSG.io API endpoints will be deprecated after the 1st of February 2025: https://epsg.io/docs#migration
The mentioned code will not work anymore, but I am not sure to what extent this will affect your application.

You can easily replace them with a new endpoint from MapTiler. However, the new endpoint requires an API key, so you'd probably need to make it possible for your users to add it using an env variable or something similar.

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

Jira issue: CRDB-45265

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.