Re: [gdal-dev] Transform pixel coordinates

2014-10-25 Thread Artur Bercik
On Sat, Oct 25, 2014 at 5:05 PM, Andre Joost wrote: > Am 25.10.2014 um 09:29 schrieb Artur Bercik: > > >>> sorry, yes the pixel size are in degrees,0.047 deg.(5 km approx. at >> equator), in GCS and WGS84. >> >> > Ok, then it is easy. Using the values from your other post: > > upperLeftX, upperL

Re: [gdal-dev] Transform pixel coordinates

2014-10-25 Thread Andre Joost
Am 25.10.2014 um 09:29 schrieb Artur Bercik: sorry, yes the pixel size are in degrees,0.047 deg.(5 km approx. at equator), in GCS and WGS84. Ok, then it is easy. Using the values from your other post: upperLeftX, upperLeftY = 150.1234, 50.1234 (They are in GCS with WGS84 datum) pixelWidth,

Re: [gdal-dev] Transform pixel coordinates

2014-10-25 Thread Artur Bercik
On Sat, Oct 25, 2014 at 4:09 PM, Andre Joost wrote: > Am 25.10.2014 um 07:05 schrieb Artur Bercik: > >> On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost >> 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

Re: [gdal-dev] Transform pixel coordinates

2014-10-25 Thread Andre Joost
Am 25.10.2014 um 07:05 schrieb Artur Bercik: On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost 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 u

Re: [gdal-dev] Transform pixel coordinates

2014-10-24 Thread Artur Bercik
On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost 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 cent

Re: [gdal-dev] Transform pixel coordinates

2014-10-24 Thread Andre Joost
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

[gdal-dev] Transform pixel coordinates

2014-10-24 Thread 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 coordinate