[PROJ] Getting "proj" and "datum" for a CRS

Nyall Dawson nyall.dawson at gmail.com
Mon May 6 16:15:43 PDT 2019


On Fri, 3 May 2019 at 17:48, Even Rouault <even.rouault at spatialys.com> wrote:
>
> On vendredi 3 mai 2019 06:52:18 CEST Kristian Evers wrote:
> > Nyall,
> >
> > For 1, try giving proj_pj_info() a go. I am not sure that it will work in
> > all situations (a compound CRS will probably not behave as you might
> > want/expect). There’s currently not a similar function for retrieving the
> > ellipsoid id, but it can be added to proj_pj_info() if needed. You are
> > welcome to submit a PR with such a change (if you are quick it can be part
> > of 6.1.0).
>
> I'd note that adding a new member to PJ_PROJ_INFO will change the ABI in a
> incompatible manner. Will/would require a libtool 'current' bump

So is this a -1 on this change? I'm conscious the deadline is closing
for 6.1....

At the moment I'm wondering if I'll need to just resort to a regex to
get this property (argh!) as I'd need that as a fallback for proj 6.0
in any case.

Nyall



>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com


More information about the PROJ mailing list