[PROJ] WKT and such via C API
Roger Oberholtzer
roger.oberholtzer at gmail.com
Wed Jul 27 01:22:06 PDT 2022
Sorry for the noise. I have found the C API access to these strings. I
do not know how I missed it.
Next step is to see how well this information works with a shape file.
I'm also curious why this conversion can only be presented in WKT2:2019:
EPSG:4326 -> EPSG:3006
(WGS84 -> Sweref99)
On Wed, Jul 27, 2022 at 9:22 AM Roger Oberholtzer
<roger.oberholtzer at gmail.com> wrote:
>
> I am pretty certain that the WKT/JSON/PROJ STRING information is not
> available via the C API. I see how it is done in projinfo. But that
> program has lots going on. I would like to access these strings in my
> C application. For example, when making shape files, the WKT is
> needed,
>
> Can anyone suggest the most straight forward method to get this
> information if one has a PJ structure? It's ok if it is in C++. It
> will be in a library where a component can be in C++. But it will be
> called from a C application.
>
> Any pointers are welcome.
>
> --
> Roger Oberholtzer
--
Roger Oberholtzer
More information about the PROJ
mailing list