[gdal-dev] Re: [gdal-java-1.8.0]TransformPoint() - different values for same inputs, why?

Jean-Claude Repetto jrepetto at free.fr
Wed Jul 6 16:43:31 EDT 2011


On 07/06/11 22:26, mett wrote:
> Hello,
> thank you very much for your reply. For example:
> Upper Left = (*258321.25943477*, 655225.28062628)
> Lower Left = (*258321.25943477*, 574605.28062628)
> here the X value is the same (258321.25943477), so, I would aspect that also
> the conversion is the same related to the X value (in fact is a rectangular
> image). But I got different value:
> Abs: *24.39163021771631*, 66.2996405709653
> Abs: *24.24282066963955*, 65.5792295908428
>
> As you can see, I got 24.3916 in the first case and 24.242 in the second
> case. Why?!
>

Probably because your projection is not cylindrical. What projection are 
you using ?

Jean-Claude


More information about the gdal-dev mailing list