You can download it from <a href="http://dl.dropbox.com/u/5657619/dtm.tif">http://dl.dropbox.com/u/5657619/dtm.tif</a> Only 9.6Mb<div><br></div><div>Cheers, </div><div> Graeme<br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 3:02 PM, Chaitanya kumar CH <span dir="ltr"><<a href="mailto:chaitanya.ch@gmail.com">chaitanya.ch@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Graeme,<br><br>Can you provide a small sample image for testing?<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Oct 24, 2011 at 9:20 AM, Graeme Merrall <span dir="ltr"><<a href="mailto:graeme@inetix.com.au" target="_blank">graeme@inetix.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Correction, the cmdline was "gdal_contour -a ELEL -i 10.0 dtm.tif dtm-10m.shp"<div>
<div></div><div><br><br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 1:58 PM, Graeme Merrall <span dir="ltr"><<a href="mailto:graeme@inetix.com.au" target="_blank">graeme@inetix.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Apologies for the delay in replying. <div><br></div><div>I ran the same command with 10m spacing "gdal_contour -a ELEL -i 1.0<br>
dtm.tif dtm-10m.shp" and the same issue occurred. I also ran the DTM through gdal_translate to add projection info just in case. Note this is gdal_1.8.1 running on Ubuntu Lucid not from deb's but a custom compile</div>
<div><br></div><div>The same symptoms occur, it gets to around 7% or so then hangs. Load goes through the roof.</div><div><br></div><div>Ran it through strace and seems to get stuck in massive loop with calling brk() </div>
<div><br></div><div>Cheers,</div><div> Graeme</div><div><div></div><div><div><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 4:03 PM, Chaitanya kumar CH <span dir="ltr"><<a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Graeme,<br><br>Can you try again with a much larger interval?<br><br><div class="gmail_quote">
<div><div></div><div>
On Thu, Oct 13, 2011 at 6:32 AM, Graeme Merrall <span dir="ltr"><<a href="mailto:graeme@inetix.com.au" target="_blank">graeme@inetix.com.au</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>I'm trying out gdal_contour just to see what falls out of it as an<br>
experiment. I've noticed it seems to get to "0.." e.g. 7% or so, and<br>
then seems to hang. I'm trying it on a relatively small DTM<br>
<br>
The cmdline is pretty simple "gdal_contour -a ELEL -i 1.0<br>
dtm_11072101.tif dtm-1m.shp"<br>
<br>
and gdalinfo gives the following info about the image<br>
Driver: GTiff/GeoTIFF<br>
Files: dtm_11072101.tif<br>
dtm_11072101.tfw<br>
Size is 1000, 2500<br>
Coordinate System is `'<br>
Origin = (488000.000000000000000,7198000.000000000000000)<br>
Pixel Size = (2.000000000000000,-2.000000000000000)<br>
Metadata:<br>
TIFFTAG_XRESOLUTION=200<br>
TIFFTAG_YRESOLUTION=200<br>
TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)<br>
Image Structure Metadata:<br>
INTERLEAVE=BAND<br>
Corner Coordinates:<br>
Upper Left ( 488000.000, <a href="tel:7198000.000" value="+17198000000" target="_blank">7198000.000</a>)<br>
Lower Left ( 488000.000, <a href="tel:7193000.000" value="+17193000000" target="_blank">7193000.000</a>)<br>
Upper Right ( 490000.000, <a href="tel:7198000.000" value="+17198000000" target="_blank">7198000.000</a>)<br>
Lower Right ( 490000.000, <a href="tel:7193000.000" value="+17193000000" target="_blank">7193000.000</a>)<br>
Center ( 489000.000, <a href="tel:7195500.000" value="+17195500000" target="_blank">7195500.000</a>)<br>
Band 1 Block=1000x2 Type=UInt32, ColorInterp=Gray<br>
<br>
I admit I'm at a loss as to how to proceed/troubleshoot so any<br>
pointers gratefully received. I tried popping it through<br>
gdal_translate to add a projection but it seems to have the same issue<br>
<br>
Cheers,<br>
Graeme<br></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
</font></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
</div></div></blockquote></div><br></div>