Correction, the cmdline was &quot;gdal_contour -a ELEL -i 10.0 dtm.tif dtm-10m.shp&quot;<br><br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 1:58 PM, Graeme Merrall <span dir="ltr">&lt;<a href="mailto:graeme@inetix.com.au">graeme@inetix.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Apologies for the delay in replying.  <div><br></div><div>I ran the same command with 10m spacing &quot;gdal_contour -a ELEL -i 1.0<br>
dtm.tif dtm-10m.shp&quot; 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&#39;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 class="h5"><div><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 4:03 PM, Chaitanya kumar CH <span dir="ltr">&lt;<a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a>&gt;</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 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">&lt;<a href="mailto:graeme@inetix.com.au" target="_blank">graeme@inetix.com.au</a>&gt;</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&#39;m trying out gdal_contour just to see what falls out of it as an<br>


experiment.  I&#39;ve noticed it seems to get to &quot;0..&quot;  e.g. 7% or so, and<br>
then seems to hang.  I&#39;m trying it on a relatively small DTM<br>
<br>
The cmdline is pretty simple &quot;gdal_contour -a ELEL -i 1.0<br>
dtm_11072101.tif dtm-1m.shp&quot;<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 `&#39;<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&#39;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>