[Image-SIG] PIL / gdal_translate

Fredrik Lundh fredrik at pythonware.com
Thu May 26 19:40:24 CEST 2005


Ryan C Hruska wrote:
> I am using PIL to process aerial  imagery and would like to translate it
> from the sensor's frame coordinate system to a world coordinate system
> (UTM) using GPS/INS data collected at the time exposure. I am using python
> to calculate the UTM coordinates for the image corners and perspective
> center based on the camera model, but I haven't had any luck applying this
> to the imagery. It was suggested that I use gdal_translate utility to
> accomplish this.
>
> Anyway, is it possible to call the gdal_translate.exe utility from python
> and pass it the required parameters? I am using the Pythonwin development
> environment. Any help or guidance would be appreciated.

start here:

    http://www.python.org/dev/doc/devel/lib/module-subprocess.html

if you're using Python 2.2 or 2.3, you can download a subprocess
installer here:

    http://effbot.org/downloads/#subprocess

</F>





More information about the Image-SIG mailing list