<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Dear Mr. Neteler,<br><br>thank you for your input (and for your book about Grass, without which I don't know how I would approach Grass... actually I'm borrowing my employer's copy so if you have any free ones floating around... ;) ). <br><br>Your solution worked for the v.extrude buildings... brilliant.<br>However it doesn't work for the imported DXF, here is a description of the details<br>&nbsp;|&nbsp;&nbsp; Number of points:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number of areas:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;|&nbsp;&nbsp; Number of lines:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number of islands:&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;|&nbsp;&nbsp; Number of boundaries:&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number of faces:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53516&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&nbsp;|&nbsp;&nbsp; Number of centroids:&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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br><br>Do I need to apply v.type on another categorie?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DelphineJB<br><br><div><hr id="stopSpelling">From: neteler@osgeo.org<br>Date: Tue, 16 Aug 2011 11:57:20 +0200<br>Subject: Re: [GRASS-dev] NVIZ problem with 3D polygons<br>To: del_cadarn@hotmail.com<br>CC: grass-dev@lists.osgeo.org<br><br><div class="ecxgmail_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="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">





<div><div dir="ltr">
Bonjour,
<br><br>I've also posted this on the GRASS-users mailist but since I didn't receive an answer, I thought I might try this one.<br></div></div></blockquote><div><br>Sorry, I overlooked it.<br>&nbsp;</div><blockquote class="ecxgmail_quote" style="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>&nbsp;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" target="_blank">http://www.grassbook.org/errata_menu3rd.php</a><br><br>&nbsp;</div>

<blockquote class="ecxgmail_quote" style="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="layer='BLDG_RESID_BL'"
<br>v.extract P079215 out=bldg_cmcl_a where="layer='BLDG_COMMER_BL'"
<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" target="_blank">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>

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

faces=36<br><br><a href="http://v.info" target="_blank">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'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'm very new to GIS and Open Source, 
and I must admit I don'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/" target="_blank">http://www.grassbook.org/neteler/</a><br>

</div></div></div><br></div>                                               </div></body>
</html>