Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • It looks like pj_geodetic_to_geocentric() is no longer in the API. Commented May 30, 2023 at 15:05
  • 1
    It seems that pj_geodetic_to_geocentric was deprecated in 2019 with the release of PROJ version 6. I've updated the answer with a C example that works with PROJ version 9.2.0. Commented Jun 5, 2023 at 23:52