[gdal-dev] GDALDataset creation from Image subset

Francois Maass fieliesm at gmail.com
Thu Jul 8 06:17:54 EDT 2010


Good day list!

I have an image (Tiff or Pix) read into a GDALDataset as well as the
following:
1. The (x,y) coordinates/offset of the top-left corner of a block within the
image,
2. The width and length of the block

I want to create a GDALDataset that only contains this specific block of the
given image.
Simply put, I want to extract a little block or chip from an existing
GDALDataset, and put it into its own GDALDataset.

Can this be done, and how?
Thank you for your time and efforts!

Warm Regards,
Francois Maass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100708/568ed542/attachment.html


More information about the gdal-dev mailing list