<br clear="all">Someone asked us to how to add elevation values after convert a SRTM into countour lines a tutorial [1] of our Youtube&#39;s Channel. As far as I can&#39;t answer him into Youtube comments system (because the answer is too long), I&#39;m going to translate his question here and answer it hoping it will be useful to others users too.<br>
<br>Question: <br><br>&quot;<span id="result_box" class="long_text" lang="en"><span title="Haz clic para obtener otras posibles traducciones" class="hps">very good,</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">but I was wondering</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">how to extract</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">a</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">one</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">shp</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">3D</span><span title="Haz clic para obtener otras posibles traducciones">, because when</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">I use</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">the command</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">line</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">in the image</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">conteur</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">SRTM</span><span title="Haz clic para obtener otras posibles traducciones">, the curves</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">are</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">in 2D</span><span title="Haz clic para obtener otras posibles traducciones">, so</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">I</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">do not have</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">to</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">keep up your</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">tutorial,</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">do not</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">appear</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">to</span> operation <span title="Haz clic para obtener otras posibles traducciones" class="hps">elevation</span></span><br>
<br>Otaciliorayo&quot;<br><br>And the answer is:<br><br>I guess you are trying to convert a STRM to a countour lines shp to follow this tutorial and you didn&#39;t get elevation values. You can follow this steps:<br><br>1) Load the SRTM file into a 2D view of gvSIG.<br>
2) Use the sextante command to convert it into countour lines shp file.<br>3) Click on the new shp file with second button of the mouse and select &quot;Properties&quot;.<br>4) Into &quot;Layer Properties&quot; window select &quot;Categories&quot; and &quot;Unique values&quot; and then, select the strm layer into the field &quot;Classification Field&quot;. Press &quot;Add all&quot; button and &quot;Accept&quot;.<br>
<br>This action adds a new column into shp table with the elevation of each countour automatically. You can change the name of the column or the values into the view table of gvSIG and save the shp file. Now, you can follow the tutorial usign the new column as the elevation value. <br>
<br>This works for me, I hope it works for you too.<br><br>Regards,<br><br>[1] <a href="http://www.youtube.com/watch?v=T0-_ny4Cj9U">gvSIG 3D .Convert contour lines shp into digital model of elevation raster file - tutorial </a><br>
<br><br>-- <br>María Ten Rodríguez<br><br>gvSIG 3D Blog:<br><a href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br><br>Instituto de Automática e Informática Industrial  <a href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>
Ciudad Politécnica de la Innovación <br>Universidad Politécnica de Valencia<br>