[gdal-dev] gdalwarp generating incorrect coordinates

2010-12-19 Thread spider plant
Hi, I have georeferenced an image with gdal_translate and then reprojected it from OSGB36 to googleMaps with gdalwarp. However the warped TIFF latitude/longitude coordinates are wrong. The re-projection appears to stretch the map correctly, but I discovered there was a problem when I ran

Re: [gdal-dev] gdalwarp generating incorrect coordinates

2010-12-19 Thread Jean-Claude REPETTO
On 12/19/10 13:31, spider plant wrote: Does this look like a bug in gdalwarp or am I doing something stupid. The lower-left corners of the two images are not the same point, so you can't compare them. You must choose a known point, and compare its coordinates on both maps. Jean-Claude

[gdal-dev] gdalwarp generating incorrect coordinates

2010-12-19 Thread spiderplant0
(re-posting as question didnt appear first time) Hi, I have georeferenced an image with gdal_translate and then reprojected it from OSGB36 to googleMaps with gdalwarp. However the warped TIFF latitude/longitude coordinates are wrong. The re-projection appears to stretch the map correctly, but I

Re: [gdal-dev] gdalwarp generating incorrect coordinates

2010-12-19 Thread spider plant
Hi Jean-Claude. Thanks for the reply. The two lower-left corners are not the same but the Latitude is the same. And in any case the two latitudes are about 20km apart and the map tile itself is less than 2km high. ___ gdal-dev mailing list

Re: [gdal-dev] RE: Convert from GeoTiff to JP2

2010-12-19 Thread Frank Warmerdam
On 10-12-19 02:40 PM, Livneh Yehiyam wrote: Hi I ran into a problem converting a GeoTiff to a Jpeg200 image, using gdal_translate and the JP2ECW driver. ... I get this from gdalinfo:E:\Data\testgdalinfo 01122010-1509.jp2 Driver: JP2ECW/ERMapper JPEG2000 Files: 01122010-1509.jp2