[Gdal-dev] gdal_translate with onearth png

Tyler Mitchell tylermitchell at shaw.ca
Wed Aug 31 14:39:27 EDT 2005


> I save the image and attempt to process it with gdal_translate:
> 
> gdal_translate -of GTIFF -a_ullr -120 15 -90 45 test.png test.tif
> 
> (at this point, gdal 1.3.0 on gentoo complains "option -a_ullr
> incomplete, or not recognized", but the same thing in cygwin with
> 1.3.0.0b1 processes the image fine)

It looks to me like a_ullr expects "Upper Left" coordinate first and you have the south-west point first.  Perhaps you meant: -120 45 -90 15 instead?

I haven't used this option before, but I have used the -GCP options which work well for georeferencing the image.

Hope that helps.
Tyler





More information about the Gdal-dev mailing list