[Proj] Using pj_transform API to convert WGS84 to OSGB

Keith Sharp kms at passback.co.uk
Fri Jan 20 08:59:29 EST 2006


On Fri, 2006-01-20 at 08:51 -0500, Frank Warmerdam wrote:

> Keith,
> 
> As mentioned, you have the x/y mixed up.  But as
> importantly, the pj_transform() takes geographic locations
> in radians, not degrees like the user accessable interface
> in cs2cs.
> 
> Multiply your values by DEG_TO_RAD to convert from degrees
> to radians.

Many thanks Frank, that has solved my problem!

Keith.



More information about the Proj mailing list