[Proj] dmstor return negative value

José Alberto Gonçalves jagoncal at fc.up.pt
Thu Jan 18 10:57:24 EST 2007


Your longitude (8d... East) is in Zone 32. Zone 33 goes from 12  to 18 
degrees East longitude, so it is likely that you get a negative X when 
you project your point in zone 33.

Regards


Jose Gonçalves






Lars Geldner wrote:

>Dear all,
>
>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.
>
>What indicates the UTM x-value -481324.644767 of the WGS84 longitude
>8d29'30.74?
>
>The inverse transformation of -481324.644767 returns a longitude of
>0d0'0.085"E but not 8d29'30.74.
>
>Any help is appreciated!
>
>TIA,
>
>Lars Geldner
>



More information about the Proj mailing list