[Proj] List of supported projections and ellipsoids

Frank Warmerdam warmerdam at pobox.com
Mon Mar 15 05:57:42 EST 2010


LOTT Jean-Baptiste wrote:
> Hi all,
> 
>  
> 
> I would need to get the list of projections and ellipsoids that I can 
> use with the library. What I am looking for is a list like the one that 
> is returned when calling cs2cs -lp and cs2cs -le. Those functions use 
> pj_get_list_ref and pj_get_ellps_ref to get those lists, is there any 
> way to do the same thing using the API?

Jean-Baptiste,

I see that those functions and the structure defines they are based on
are not currently part of the public api in proj_api.h.  However, they
are available if you include the internal projects.h include file.  I
generally discourage this, but it may still be the expedient thing for
you to do.

I might make sense to move these structure definitions and function
prototypes to proj_api.h if we want to consider them generally available.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Proj mailing list