Heiko Klein | 26 Mar 2012 13:10
Picon

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

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
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj


Gmane