[Proj] How to access projection-factors in 4.8 (without projects.h)?

Heiko Klein Heiko.Klein at met.no
Mon Mar 26 04:10:57 PDT 2012


Hi,

I just read that the projects.h header is no longer available (publicly).

Currently, I use projects.h to calculate the factors.k from the 
polar-stereographic projection. Polar-stereographic projections can be 
defined by 'lat_ts' or by 'k', and up to 4.7, I was able to access those 
easily, e.g. when translating from a proj-projection to a projection in 
FGDC:

att["scale_factor_at_projection_origin"] = factors.k;


This functionality is available in 'proj -V' (which still requires 
projects.h) but not in the public API proj_api.h

I think, as long as the commmand-line interface still requires 
'projects.h', not all necessary functionality is included in proj_api.h

Best regards,

Heiko



More information about the Proj mailing list