[gdal-dev] Is their a way by using the bounding box and the
png to convert it into a geotiff?
Mateusz Loskot
mateusz at loskot.net
Sun Jan 10 10:58:39 EST 2010
John Mitchell wrote:
> When trying to convert a png to geotiff which is listed below:
>
> *gdalwarp -s_srs epsg:4326 -t_srs
> epsg:4326 "C:\Documents and
> Settings\jmitchell.INSEQUENCE2\Desktop\ows2121.png"
> "C:\Documents and Settings\jmitchell.INSEQUENCE2\Desktop\ows2121.tif"*
>
> I get the following error:
>
> *ERROR 1: Unable to compute a transformation between pixel/line
> and georeferenced coordinates for C:\Documents and
> Settings\jmitchell.INSEQUENCE
> 2\Desktop\ows2121.png.
> There is no affine transformation and no GCPs.*
>
> I have the coordinate bounding box that was used to create the original
> png.
Try this command:
http://trac.osgeo.org/gdal/wiki/FAQRaster#HowtomakeGeoTIFFfromTIFF
Best regards,
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the gdal-dev
mailing list