<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 08-09-2010 16:38, Carmelo Terrasi wrote:
<blockquote
cite="mid:AANLkTin2zVttKhXx2fATP=sGx0ObHDBnepfNCnz50_mr@mail.gmail.com"
type="cite">Yes, you're right, if I need a portion I have to use that
utility.
<div>Thank you so much Hermann,</div>
<div>regards,</div>
<div>Carmelo<br>
</div>
</blockquote>
<br>
Not so simple.<br>
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).<br>
<br>
Joaquim<br>
<br>
<br>
<blockquote
cite="mid:AANLkTin2zVttKhXx2fATP=sGx0ObHDBnepfNCnz50_mr@mail.gmail.com"
type="cite">
<div><br>
<div class="gmail_quote">2010/9/8 Hermann Peifer <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:peifer@gmx.eu">peifer@gmx.eu</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 08/09/2010 15:26, Carmelo Terrasi wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everybody,<br>
<br>
does anybody know how to cut a smaller dem file from another one???<br>
I have my original file /terrain.dem /but my /image.bmp/ is smaller so I<br>
would cut a portion just to create another suitable dem file for my<br>
/image.bmp/<br>
Is it possible to do it or am I off-board?<br>
<br>
</blockquote>
<br>
</div>
Look at the -srcwin and -projwin options at <a moz-do-not-send="true"
href="http://gdal.org/gdal_translate.html" target="_blank">http://gdal.org/gdal_translate.html</a><br>
<font color="#888888"><br>
Hermann<br>
</font></blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>