On 08-09-2010 16:38, Carmelo Terrasi wrote:
Yes, you're right, if I need a portion I have to use that utility.
Thank you so much Hermann,
regards,
Carmelo

Not so simple.
The problem will be that your bmp image is not referenced but the DEM is, so you'll need to find the correspondence between the (row,column) coordinates of the bmp image and the (x,y) coords of the model. That means referencing the image (bmp) to the grid (dem).

Joaquim



2010/9/8 Hermann Peifer <[email protected] <mailto:[email protected]>>

    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



_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to