Ole,<br><br>You can specify a field in the contour features using the '-a' option. You can also use the '-3d' option to include the elevation value in the z value at every vertex. (<a href="http://www.gdal.org/gdal_contour.html">http://www.gdal.org/gdal_contour.html</a>)<br>
<br><div class="gmail_quote">On Wed, Jul 7, 2010 at 1:26 PM, Ole Nielsen <span dir="ltr"><<a href="mailto:ole.nielsen@aifdr.org">ole.nielsen@aifdr.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal">Dear all </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We are using gdal_contour to generate shape files. They look
good and appear to be correct, but we need to label them with the value they
represent.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">However, no such information appears to be available in the
shape files. We thought we could work with the ID attribute which is the only
information available in the shapefiles generated by gdal_contour, but that
does not generally reflect the order of the contour lines either.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">How is it possible to determine which contour line
corresponds to a particular level?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best regards</p>
<p class="MsoNormal">Ole</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Dr
Ole Nielsen</span></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Numerical
Modeller</span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt;" lang="EN-US">Australia-Indonesia
Facility for Disaster Reduction</span></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US">Mobile:
+62 811 820 4637 | Phone: +62 21 398 30088 x1007 | Fax: +62 21 398 30068</span></p>
<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"> </span></p>
<p class="MsoNormal"><img src="cid:image001.jpg@01CB1DE4.2BDB4350" alt="cid:341378CF-F190-43E3-BF4F-9D25093D10FA@e2.local" height="131" width="624"><span lang="EN-US"></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">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><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>