<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost <span dir="ltr"><<a href="mailto:andre+joost@nurfuerspam.de" target="_blank">andre+joost@nurfuerspam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 25.10.2014 um 06:03 schrieb Artur Bercik:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear GDAL users<br>
<br>
I have a raster image of 406 lines and 270 samples with 5km pixel size. The<br>
center coordinates (lats and lons in degrees in GCS) of upper left pixel,<br>
and the center coordinates (lats and lons in degrees in GCS) of the lower<br>
right pixel are given, how can I calculate the coordinates of upper left<br>
corner (ulx and uly) and the coordinates of lower right corner (lrx and<br>
lry)?<br>
<br>
</blockquote>
<br></span>
You need to know the projection definition to calculate from distance in pixel or km to degrees.<br></blockquote><div><br></div><div>yes the projection are in GCS with WGS84 datum </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Greetings,<br>
André Joost<br>
<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br></div></div>