/* create VRT dataset */
hdsDst = VRTCreate(tile_size[0], tile_size[1]);
/*
- GDALSetDescription(hdsDst, fn);
+ GDALSetDescription(hdsDst, fn);
*/
GDALSetProjection(hdsDst, info->srs);
GDALSetGeoTransform(hdsDst, gt);
/* each tile is a VRT with constraints set for just the data required for the tile */
for (ytile = 0; ytile < ntiles[1]; ytile++) {
for (xtile = 0; xtile < ntiles[0]; xtile++) {
+ /*
+ char fn[100];
+ sprintf(fn, "/tmp/tile%d.vrt", (ytile * ntiles[0]) + xtile);
+ */
/* compute tile's upper-left corner */
GDALApplyGeoTransform(
/* create VRT dataset */
hdsDst = VRTCreate(info->tile_size[0], info->tile_size[1]);
+ /*
+ GDALSetDescription(hdsDst, fn);
+ */
GDALSetProjection(hdsDst, info->srs);
GDALSetGeoTransform(hdsDst, gt);