[gdal-dev] crop a raster file (.bsp/.kap) to create an image file (.png)

jmsbc jmsbc at aol.com
Thu Jul 22 21:17:33 EDT 2010



Hello,

I have a set of raster files (.bsb and .kap) that I need to crop based on a
set of coordinates (top left x,y and bottom right x,y) in order to obtain a
.png file.

I've gone through the GDAL API tutorial, and it seems like I should be using
CreateCopy to derive the destination file.  

However how do I crop the original raster file based on my specified lat/lon
coordinates?

Thank you
-james
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/crop-a-raster-file-bsp-kap-to-create-an-image-file-png-tp5327915p5327915.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list