Re: [gdal-dev] GDAL Python Projection Question

2010-04-12 Thread Kyle Shannon
I use AutoCreateWarpedVRT() to create a virtual dataset, then you CreateCopy() to write your data using the proper Driver: vrt_ds = AutoCreateWarpedVRT( ds, ... ) dst_ds = driver.CreateCopy('dst.out', vrt_ds, ...) dst_ds = None kss # Kyle Shannon Physical Science Te

[gdal-dev] GDAL Python Projection Question

2010-04-12 Thread Discourse Maps
Hi, I am attempting to use GDAL with Python to reproject a raster (called 'deforest') from Geographic Coordinate System to NAD83_UTM10N. Most of the projection tutorials seem to be in C... Can anyone offer assistance for Python? My current code: os.chdir(gp.workspace) ds = gdal.Ope