<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>First i want to tnks all the folks who spare some time to help the others.</div><div>I do some tests after your e-mail Carlos and i find out in which step is the problem:</div><div>After i import my .shp file i execute the commands: (# on left line is a python command and @ is a command console command)</div><br># import sys, os, numpy, argparse<div># import grass.script as g</div><div># import grass.script.setup as gsetup</div><div># g.run_command('v.buffer', input='Pocos_UTM', output='mapaComBuffer', type='point', distance='1000', flags = 't')</div><div># g.run_command('v.extract',input=mapWithBuffer, cats=1, output='tmp',type='area', quiet=True, overwrite=True)</div><div>@ d.vect map=tmp@Map</div><div>At this point i change to 3d and everthing is ok so i continue:</div><div><br></div><div># g.run_command('v.extrude', input='tmp', output="test1", zshift=300,height=1000,overwrite=True) </div><div>@ d.vect map=test1@Map</div><div>And at this point i change to 3d and it gives me the follow error: </div><div>"Loading vector map <test1@Map> (points) failed </div><div>No points from vector map <test1@Map> fall within current</div><div>region"</div><div><br></div><div>... And while i was writing this e-mail i notice that the borehole appeared o.O, so it seens it have worked!!</div><div><br></div><div>By the way, how do you put the surface? you said that you have made a crude interpolation, i don't understand. Sorry i still have too little knowledge with grass</div><div>Very tnks,</div><div>Alec Ventura.</div><div><hr id="stopSpelling">From: carlos.grohmann@gmail.com<br>Date: Mon, 18 Jan 2016 23:06:03 -0200<br>Subject: Re: [GRASS-user] Problems to show 3d boreholes<br>To: alecventura@hotmail.com<br>CC: grass-user@lists.osgeo.org<br><br><div dir="ltr">Hello Alec<div><br></div><div>I did some tests with your file and it worked fine. </div><div><br></div><div>Importing the vector into a UTM22south region indeed results in 'zone invalid' from <a href="http://v.info" target="_blank">v.info</a>, but it works. (even with the 'override dataset projection' option)</div><div><br></div><div>(note: the data is on UTM zone 22J - Santa Catarina State)</div><div><br></div><div>In the 3D view, initially, the symbol size was really small (100 meters - map units) and the extent of the points is quite large 212x367 kilometers) so it was hard to see the vector points. But they are there. In the 'Appearance' tab, you can increase this size. </div><div><br></div><div>I attached a screenshot of the point (size=1000) and a crude interpolation of the PROF_BASE column. </div><div><br></div><div>Given the spatial distribution of the points, I suggest you create a mask of the convex hull (v.hull + v.to.rast + r.mask) of your points and restrict the interpolation to this area.</div><div><br></div><div>You might also want to double check the encoding on the DBF file. I didn't got any of the Portuguese special characters correctly (I tend to run away from using characters like 'ç' 'ã', etc).</div><div><br></div><div>best</div><div><br></div><div>Carlos</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><img src="cid:ii_15257608349d9f3b" alt="Inline image 1" width="472" height="172"><br></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Mon, Jan 18, 2016 at 10:09 PM, Alec Ventura <span dir="ltr"><<a href="mailto:alecventura@hotmail.com" target="_blank">alecventura@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">So, i as able to find some time to work here again... <div>I have created a new location using the shape file as source for it, and when i choose the file, it successfully recognize the location as UTM 22s.</div><div>But right after GRASS had opened and i just imported the shape to my viewport and see the metadata of shape, it again says : Projection: UTM (zone invalid) </div><div><br></div><div>My steps:</div><div>created a location based on shape file attached,</div><div>1 - run: d.vect map=Pocos_UTM@PERMANENT</div><div>2 - run: <a href="http://v.info" target="_blank">v.info</a> map=Pocos_UTM@PERMANENT</div><div><br></div><div>ps: i just have imported the .shp file<br><br><div><hr>From: <a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a><br>Date: Tue, 12 Jan 2016 21:30:25 -0500<br>Subject: Re: [GRASS-user] Problems to show 3d boreholes<br>To: <a href="mailto:alecventura@hotmail.com" target="_blank">alecventura@hotmail.com</a><br>CC: <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br><br><div dir="ltr"><br><div><br><div>On Tue, Jan 12, 2016 at 7:15 PM, Alec Ventura <span dir="ltr"><<a href="mailto:alecventura@hotmail.com" target="_blank">alecventura@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Im trying to draw some 3d boreholes, i have based my attempts on gene solution:<div><a href="http://osgeo-org.1560.x6.nabble.com/Automatic-3D-geological-boreholes-representation-automate-v-extrude-from-a-table-my-solution-in-Pythn-td4978801.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Automatic-3D-geological-boreholes-representation-automate-v-extrude-from-a-table-my-solution-in-Pythn-td4978801.html</a></div><div><br></div><div>I believe im on the right path, but by some reason when i change to 3d it gave me the fallow message:</div><div><br></div><div><div>Error loading vector map <bore1@Map1></div><div>No points from vector map <bore2@Map1> fall within current</div><div>region</div></div><div><br></div><div><br></div><div>And it happens for all boreholes, when i access theyr metadata it gives:</div><div><br></div><div><div> | Map format: native |</div><div> |----------------------------------------------------------------------------|</div><div> | Type of map: vector (level: 2) |</div><div> | |</div><div> | Number of points: 0 Number of centroids: 0 |</div><div> | Number of lines: 0 Number of boundaries: 0 |</div><div> | Number of areas: 0 Number of islands: 0 |</div><div> | Number of faces: 25 Number of kernels: 1 |</div><div> | Number of volumes: 0 Number of holes: 0 |</div><div> | |</div><div> | Map is 3D: Yes |</div><div> | Number of dblinks: 1 |</div><div> | |</div><div> | Projection: UTM (zone invalid) |</div><div> | |</div><div> | N: 7064064.24981919 S: 7062068.91228081 |</div><div> | E: 371187.626007 W: 369196.94006096 |</div><div> | B: 148 T: 496 |</div><div> | |</div><div> | Digitization threshold: 0 |</div><div> | Comment: |</div><div> | Generated by v.extrude from vector map <tmp@Map1> |</div><div> +----------------------------------------------------------------------------+</div></div><div><br></div><div>Im using UTM 22s, but on metadata it says <span style="font-size:12pt;">UTM (zone invalid).</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">But on 2d, it appears on viewport.</span></div><div><span style="font-size:12pt;">Any ideas?</span></div><div><span style="font-size:12pt;">Tnks.</span></div></div></div></blockquote><div><br></div><div>Perhaps you could share the data to test? You can use v.pack.</div><div><br></div><div>Best,</div><div><br></div><div>Anna</div><div><br></div><div><br></div><blockquote style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"> </div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div></div></div> </div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255);" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div>
</div></div> </div></body>
</html>