[gdal-dev] Transform pixel coordinates

Artur Bercik vbubbly21 at gmail.com
Fri Oct 24 22:05:11 PDT 2014


On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost <andre+joost at nurfuerspam.de>
wrote:

> Am 25.10.2014 um 06:03 schrieb Artur Bercik:
>
>> Dear GDAL users
>>
>> I have a raster image of 406 lines and 270 samples with 5km pixel size.
>> The
>> center coordinates (lats and lons in degrees in GCS) of upper left pixel,
>> and the center coordinates (lats and lons in degrees in GCS) of the lower
>> right pixel  are given, how can I calculate the coordinates of upper left
>> corner (ulx and uly) and the coordinates of lower right corner (lrx and
>> lry)?
>>
>>
> You need to know the projection definition to calculate from distance in
> pixel or km to degrees.
>

yes the projection are in GCS with WGS84 datum

>
> Greetings,
> André Joost
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141025/5f5cc122/attachment.html>


More information about the gdal-dev mailing list