[Proj] dmstor return negative value
Oscar van Vlijmen
ovv at hetnet.nl
Thu Jan 18 07:35:45 PST 2007
> From: Lars Geldner
> Date: Thu, 18 Jan 2007 06:20:33 -0800 (PST)
> Subject: [Proj] dmstor return negative value
> I'm transforming WGS84 coordinates into x/y coordinates of the UTM
> projection.
> The input WGS84 values have the following format, e.g. 8d29'30.74 as
> longitude.
> UTM Zone is 33.
> The first step is to transform the DMS data (8d29'30.74 as longitude) to
> radian data using dmstor function.
> The second step is to transform the radian data (returned by dmstor) to UTM
> using pj_fwd function.
> The result of the steps mentioned above is a negative value (-481324.644767)
> returned by pj_fwd.
.....
My guess: don't convert lat, lon to radians or set proj to accepting radians
instead of degrees. Seems to be mentioned in 'the' manual.
More information about the Proj
mailing list