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

Add proj_query_geodetic_crs_from_datum #1389

Open
jjimenezshaw opened this issue Mar 29, 2024 · 2 comments · May be fixed by #1390
Open

Add proj_query_geodetic_crs_from_datum #1389

jjimenezshaw opened this issue Mar 29, 2024 · 2 comments · May be fixed by #1390
Labels
enhancement proposal Idea for a new feature.

Comments

@jjimenezshaw
Copy link
Contributor

In the scope of adding a new feature to https://spatialreference.org/ base crs, in a similar way it is done in epsg.org, I think I need proj_query_geodetic_crs_from_datum. (Please, correct me if I am wrong).

The idea will be to get the geographic 3D from a geographic 2D, or a geocentric from a geographic 3D as base crs.

Something like EPSG:6318 -> EPSG:6319 -> EPSG:6317

(For a projected and compound there are already tools in pyproj)

Looking at proj documentation, I think it is doable with proj_query_geodetic_crs_from_datum. It is the only missing piece.

Should I implement that function? Where in the code?

@jjimenezshaw jjimenezshaw added the proposal Idea for a new feature. label Mar 29, 2024
@jjimenezshaw
Copy link
Contributor Author

cc @rouault

@snowman2
Copy link
Member

This would be a good home for it: https://github.com/pyproj4/pyproj/blob/main/pyproj/database.pyx

@jjimenezshaw jjimenezshaw linked a pull request Mar 31, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement proposal Idea for a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants