[gdal-dev] Re: Best way to add geo-referencing to a PNG

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Fri Feb 19 03:43:43 EST 2010


Christopher Barker <Chris.Barker <at> noaa.gov> writes:

> That seems to get the basics: QGIS puts it in the right place on the 
> map, and gdal_translate seems to be able to make a geotiff out of it. 
> However, I'd like to be able to put a bit more information in, like that 
> it's wgs84, and geo-coordinates. How can I do that? It seems an 
> *.aux.xml file should be able to do what I want. but I don't what to put 
> in that.

Hi,

I would convert them to geotiffs with -a_srs option for telling it is in wgs84.

gdal_translate -of GTiff -a_srs epsg:4326 image.png image.tif

-Jukka Rahkonen-




More information about the gdal-dev mailing list