[gdal-dev] Re: cut a .dem file

Hermann Peifer peifer at gmx.eu
Wed Sep 8 09:42:41 EDT 2010


On 08/09/2010 15:26, Carmelo Terrasi wrote:
> Hello everybody,
>
> does anybody know how to cut a smaller dem file from another one???
> I have my original file /terrain.dem /but my /image.bmp/ is smaller so I
> would cut a portion just to create another suitable dem file for my
> /image.bmp/
> Is it possible to do it or am I off-board?
>

Look at the -srcwin and -projwin options at 
http://gdal.org/gdal_translate.html

Hermann


More information about the gdal-dev mailing list