[PROJ] Rads/Degs
Even Rouault
even.rouault at spatialys.com
Wed Feb 13 00:06:33 PST 2019
On mardi 12 février 2019 11:16:56 CET Paul Ramsey wrote:
> Is there some clean way to tell proj_create_crs_to_crs() that I would
> like my input angular units and output angular units to be degrees? As
> it stands I'm just using proj_angular_input and proj_angular_output to
> test and apply the change pre/post transform.
Hum, with which PROJ version ?
I guess with PROJ 5.x, the angular unit was radians
With PROJ master, proj_create_crs_to_crs() object will expect (resp return)
the angular unit of the source (resp target) CRS, which will generally be
degrees (except a few ancient French SRS that take grads)
The function at
https://github.com/OSGeo/proj.4/blob/master/src/apps/cs2cs.cpp#L212
can be used to get the angular unit of a CRS.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the PROJ
mailing list