<br><span class="gmail_quote"><br><br></span>Hi Markus,<br><br>Thanks alot for your help :)<br><br>v.out.ascii on my streets3d gave me : <br><br>GRASS 6.3.0RC1 (nc_spm_06):/usr/include > v.out.ascii streets3d format=standard | head -50
<span class="q"><br>ORGANIZATION: NC OneMap<br> DIGIT DATE: Nov 7 6<br>DIGIT NAME: helena<br>MAP NAME: Wake County roads and streets (lines map)<br>MAP DATE: Tue Nov 7 20:04:56 2006<br>MAP SCALE: 1<br>OTHER INFO:
<br>ZONE: 0<br>MAP THRESH: 0.000000 <br>VERTI:<br>L 4 1<br></span> 625304.64965949 214113.54427121 110.63827327<br> 625301.19968723 214078.52097425 110.53516127<br> 625299.48976068 214056.17660237 110.46902923<br>
625299.2898505 214050.64903112 110.45167028<span class="q"><br> 1 1 <br>L 4 1<br></span> 670282.21275792 227601.93222423 77.30562497<br> 670374.57454089 227594.34858999 77.75031661<br> 670445.44075096 227585.49027471
78.06294622<br> 670480.4596783 227576.2012396 78.16904676<span class="q"><br> 1 2<br>L 2 1 <br></span> 640859.16790248 227574.18138204 101.43534006<br> 640807.37009659 227572.59333673 102.82421757<br> 1 3<br>L 3 1
<br> 641027.66472275 226005.86943382 101.61656721<br> 641029.28632052 226018.73890562 101.82055249<br> 641027.87805392 226096.09665666 103.0005327<br> 1 4<br>L 4 1<br> 650813.12379857 226001.6206011 63.07461956<br>
650817.8816922 226025.06362068 62.85028877<br> 650825.19690683 226054.93404143 62.54284598<br> 650837.89284223 226126.89484171 61.86218497<br> 1 5<br>L 4 1<br> 657988.42877208 239117.08507621 101.59256415<br> 657999.49858403
239106.02572014 101.24871757<br> 658006.91367573 239097.03756468 105.86902948<br> 658014.55349082 239087.3753951 105.64730814<br> 1 6<br>L 10 1<br> 658852.96011106 240354.2803688 123.12467481<br> 658856.76542719 240347.57596483
123.13784494<br> 658860.93295374 240341.59644987 123.16069965<br> 658865.82536929 240335.97914532 123.1962029 <br> 658871.44267384 240331.08672976 123.24659675<br> 658878.14707781 240326.01313098 123.31148144<br><br><br>
<br>I followed your instructions (except the nviz one - since I do not have it installed) and this is the v.ascii on the new streets3d_new level I recreated using your method :<br><br>GRASS 6.3.0RC1 (nc_spm_06):/usr/include >
v.out.ascii streets3d_new format=standard | head -50<div><span class="e" id="q_117741d44dcf1e32_7"><br>ORGANIZATION: NC OneMap<br>DIGIT DATE: Nov 7 6 <br>DIGIT NAME: helena<br>MAP NAME: Wake County roads and streets (lines map)
<br>MAP DATE: Tue Nov 7 20:04:56 2006<br>MAP SCALE: 1<br>OTHER INFO:<br>ZONE: 0<br>MAP THRESH: 0.000000<br>VERTI:<br>L 4 1 <br> 625304.64965949 214113.54427121 111.15730809<br> 625301.19968723 214078.52097425
111.15730809<br> 625299.48976068 214056.17660237 111.15730809<br> 625299.2898505 214050.64903112 111.15730809<br> 1 1<br>L 4 1<br> 670282.21275792 227601.93222423 80.19490021<br> 670374.57454089 227594.34858999 80.19490021
<br> 670445.44075096 227585.49027471 80.19490021<br> 670480.4596783 227576.2012396 82.07733239<br> 1 2<br>L 2 1<br> 640859.16790248 227574.18138204 107.09736996<br> 640807.37009659 227572.59333673 107.09736996<br> 1 3
<br></span></div>L 3 1<br> 641027.66472275 226005.86943382 102.38978817<br> 641029.28632052 226018.73890562 103.15115211<br> 641027.87805392 226096.09665666 107.85202063<br> 1 4<br>L 4 1<br> 650813.12379857 226001.6206011
67.55276255<br> 650817.8816922 226025.06362068 67.11642843<br> 650825.19690683 226054.93404143 65.72167216<br> 650837.89284223 226126.89484171 65.72167216 <br> 1 5<br>L 4 1<br> 657988.42877208 239117.08507621 110.0050774
<br> 657999.49858403 239106.02572014 109.75625556<br> 658006.91367573 239097.03756468 111.837334<br> 658014.55349082 239087.3753951 111.66560996<br> 1 6 <br>L 10 1<br> 658852.96011106 240354.2803688 115.85651881<br>
658856.76542719 240347.57596483 115.85651881<br> 658860.93295374 240341.59644987 115.85651881<br> 658865.82536929 240335.97914532 115.85651881<br> 658871.44267384 240331.08672976 115.85651881<br> 658878.14707781 240326.01313098
115.85651881<br><br><br><br><br>As you can see the Z coordinate did change. However, the problem is that when I exported this layer to a shape file to load it from QGis, and when I exported this to a PostGIS database there is no showings of the Altitude layer.
<br><br>Technically I do not need to see the altitude however it is important that altitude can be read since I need to make routing using the Altitude constraint.<br><br>Any help will be extremely appreciated<br><br>Thanks for your help already :)
<div><span class="e" id="q_117741d44dcf1e32_9"><br><br><br><br><div><span class="gmail_quote">On 1/11/08, <b class="gmail_sendername">Markus Neteler</b> <<a href="mailto:neteler@osgeo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
neteler@osgeo.org</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Jan 5, 2008 6:32 PM, Matthew Pulis <<a href="mailto:mpulis@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mpulis@gmail.com</a>> wrote:<br>><br>><br>><br>><br>> Hi,
<br>><br>><br>><br>> First of all Happy New Year to all on the list J <br>><br>><br>><br>> I am trying to build a 3D Street Network, thus where the streets have<br>> elevation so I can do routing depending on slope level.
<br>><br>><br>><br>> I am using the GRASS Book Dataset of North Carolina. <br>><br>><br>><br>> I tried to combine : streets_wake and elev_state_500m layers together, using<br>> the v.drape :<br>
><br>> v.drape in=streets_wake rast=elev_state_500m method=bilinear out=streets3d <br>><br>><br>><br>> But to no avail. This is the <a href="http://v.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
v.info</a> on streets3d :<br>><br>><br>><br>> | Number of lines: 49746 Number of islands: 0<br>> | <br>><br>> | Number of boundaries: 0 Number of faces: 0
<br>> |<br>><br>> | Number of centroids: 0 Number of kernels: 0<br>> |<br>><br>> |<br>> |<br> ><br>> | Map is 3D: 1<br>> |<br>><br>> | Number of dblinks: 1
<br>> |<br>><br>> |<br>> |<br>><br>> | Projection: Lambert Conformal Conic<br>> |<br>><br> > | N: 258102.57210146 S: 196653.34855345<br>> |<br>><br>> | E:
676816.24830376 W: 610869.3848495<br>> |<br>><br>> | B: 49.16141063 T: 156.87280191<br>> |<br><br>As you see - the data are 3D!<br><br><br>I run<br>g.region vect=streets_wake res=100 -pa
<br>v.drape in=streets_wake rast=elev_state_500m method=bilinear out=streets3d<br>#<br>r.mapcalc sealevel=0 <br>nviz el=sealevel vect=streets3d<br><br>Looks pretty much 3D (sorry for flat terrain there...).<br><br>Check also
<br>v.out.ascii streets3d format=standard | head -50<br>ORGANIZATION: NC OneMap<br>DIGIT DATE: Nov 7 6<br> DIGIT NAME: helena<br>MAP NAME: Wake County roads and streets (lines map)<br>MAP DATE: Tue Nov 7 20:04:56 2006
<br>MAP SCALE: 1<br>OTHER INFO:<br>ZONE: 0<br>MAP THRESH: 0.000000<br>VERTI:<br>L 4 1<br> 625304.64965949 214113.54427121 111.15730809<br> 625301.19968723 214078.52097425 111.15730809<br> 625299.48976068 214056.17660237
111.15730809<br> 625299.2898505 214050.64903112 111.15730809<br> 1 1<br>L 4 1<br> 670282.21275792 227601.93222423 80.19490021<br> 670374.57454089 227594.34858999 80.19490021<br> 670445.44075096 227585.49027471 80.19490021
<br> 670480.4596783 227576.2012396 82.07733239<br> 1 2<br>L 2 1<br> 640859.16790248 227574.18138204 107.09736996<br> 640807.37009659 227572.59333673 107.09736996<br> 1 3<br>...<br><br>Markus<br></blockquote></div>
<br><br clear="all"><br></span></div><span class="sg">-- <br>Matthew Pulis<br>URL : <a href="http://www.solutions-lab.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.solutions-lab.net
</a><br>MSN : pulis_matthew[@]hotmail.com<br>ICQ : 145951110<br>Skype : <a href="http://solutions-lab.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">solutions-lab.net</a> </span><br clear="all">
<br>-- <br>Matthew Pulis<br>URL : <a href="http://www.solutions-lab.net">http://www.solutions-lab.net</a><br>MSN : pulis_matthew[@]hotmail.com<br>ICQ : 145951110<br>Skype : <a href="http://solutions-lab.net">solutions-lab.net
</a>