Ticket #142 (closed enhancement: fixed)
proj_api.h access to (spheroid|other) parameters
|Reported by:||pramsey||Owned by:||warmerdam|
The current access to parameters in the projPJ is via the pj_get_def() function, which returns a string. The caller then has to parse the string for the contents (which are hopefully there) it is interested in. In high performance situations, this is not optimal, particularly since the value is just sitting in the projPJ hidden away.
I have particular need to get at the major axis and eccentricity squared of the spheroid, but in general I imagine users are interested in all manner of parameters that are stored as doubles.