Xia Lang,
>
>
> // create out file
> eDT = GDALDataType(iBand1->GetRasterDataType());
> GDALDriver *hDriver = (GDALDriver *)GDALGetDriverByName( "GTiff" );
> CPLAssert( hDriver != NULL );
> hDstDS = (GDALDataset *)GDALCreate( hDriver, "G:\\data\\TM\\out.tif",
> nPixels, nLines, GDALGetRaste
Hi,
I used GDAL to reproject the TM images, and the original projection of the TM
images was longitude/latitude WGS84, the final projection was UTM 51. The codes
I used is as following:
void doCore()
{
GDALDataType eDT;
GDALDataset *hDstDS;
GDALDataset *hSrcDS;
GDALAllRegister();
// c