<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<BR><BR>I am attempting to use GDAL with Python to reproject a raster&nbsp;(called 'deforest')&nbsp;from Geographic Coordinate System to NAD83_UTM10N.<BR><BR>Most of the projection tutorials seem to be in C...<BR>Can anyone offer assistance for Python?<BR><BR>&nbsp;My current code:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; os.chdir(gp.workspace)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ds = gdal.Open('lulc_samp_cur', GA_ReadOnly)<BR>&nbsp;&nbsp;&nbsp;&nbsp; if ds is None:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gp.AddError("Could not open image")<BR>&nbsp;&nbsp;&nbsp;&nbsp; band = ds.GetRasterBand(1)<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;# obtain projection info from current LULC raster 'lulc_samp_cur'<BR>&nbsp;&nbsp;&nbsp;&nbsp; prj_lcraster = ds.GetProjection()<BR>&nbsp;&nbsp;&nbsp;&nbsp; ds = None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;# Project Raster for image 'defores' to same projection as 'lulc_samp_cur'<BR>&nbsp;&nbsp;&nbsp;&nbsp; ds = gdal.Open('deforest', GA_ReadOnly)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ....<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; ?                                               <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>