<div class="gmail_quote">On Thu, Aug 11, 2011 at 11:30 AM, del cadarn <span dir="ltr">&lt;<a href="mailto:del_cadarn@hotmail.com">del_cadarn@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div><div dir="ltr">
Bonjour,
<br><br>I&#39;ve also posted this on the GRASS-users mailist but since I didn&#39;t receive an answer, I thought I might try this one.<br></div></div></blockquote><div><br>Sorry, I overlooked it.<br> </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 dir="ltr">I am having problems to see vectors I have added height to with 
v.extrude . The trick is that I am actually using the e.g. given in 
NETELER, M and H. MITASOVA <i>Open Source GIS a GRASS GIS Approach</i> with the North Carolina sample data. So in theory, this example should really be working...
<br></div></div></blockquote><div><br>Thanks :) But there was an error in that part of the book:<br><br><a href="http://www.grassbook.org/errata_menu3rd.php">http://www.grassbook.org/errata_menu3rd.php</a><br><br> </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 dir="ltr">Here is what I did 
<br><br>g.region rast=el_D792_6m -p
<br><br>v.extract P079215 out=bldg_resid_a where=&quot;layer=&#39;BLDG_RESID_BL&#39;&quot;
<br>v.extract P079215 out=bldg_cmcl_a where=&quot;layer=&#39;BLDG_COMMER_BL&#39;&quot;
<br></div></div></blockquote><div><br>Here the step to change the vector type was omitted in the book example.<br><br><a href="http://v.info">v.info</a> bldg_resid_a -t<br>nodes=14<br>points=0<br>lines=11<br>boundaries=0<br>

centroids=0<br>areas=0<br>islands=0<br>faces=0<br>kernels=0<br>primitives=11<br>map3d=1<br><br>--&gt; no boundaries but lines only.<br><br>So you need to perform here:<br><br> v.type bldg_resid_a out=bldg_resid_bnd type=line,boundary<br>

 v.centroids bldg_resid_bnd out=bldg_resid_pol<br> v.type bldg_cmcl_a out=bldg_cmcl_bnd type=line,boundary<br> v.centroids bldg_cmcl_bnd out=bldg_cmcl_pol<br><br> # add height of the building (use new input maps)<br> v.extrude -t bldg_resid_pol out=bldg_resid_a_3d height=10 \<br>

                 elev=el_D792_6m<br> v.extrude -t bldg_cmcl_pol  out=bldg_cmcl_a_3d height=15 \<br>                 elev=el_D792_6m<br><br># verify<br></div><div><a href="http://v.info">v.info</a> -t bldg_resid_a_3d | grep faces<br>

faces=36<br><br><a href="http://v.info">v.info</a> -t bldg_cmcl_a_3d | grep faces<br>faces=55<br><br></div><div></div><div><br></div><div><div dir="ltr">g.region rural_1m -p
<br></div></div><div><div dir="ltr">nviz elev_lid792_1m col=ortho_2001_t792_1m vect=bldg_resid_a_3d,bldg_cmcl_a_3dI&#39;ve encountered also this problem when I tried to visualised a DXF file in NVIZ. The windmill shows up but in broken lines which is no good to me.<br>

<br>... now you see the buildings nicely.<br><br>&gt; Thank you for your help, I&#39;m very new to GIS and Open Source, 
and I must admit I don&#39;t know where to find the ressources to help...<br><br><br>It will be the same problem with solution to be applied from above.<br><br>Hope this helps,<br>Markus<br><br>-- <br><a href="http://www.grassbook.org/neteler/">http://www.grassbook.org/neteler/</a><br>

</div></div></div><br>