<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-3" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Carlos,<br>
<br>
Your version works fine but I had to use the Hamish trick posted at
<a class="moz-txt-link-freetext" href="http://www.nabble.com/do-not-export-categories-with-v.out.ascii-t4142590.html">http://www.nabble.com/do-not-export-categories-with-v.out.ascii-t4142590.html</a><br>
<blockquote>v.out.ascii input="${VECTOR}" format=point dp=3 |  cut
-f1-3 -d'|' |  tr '|' ','  &gt; $TMP.${PROG}.input_xyz<br>
</blockquote>
because the fs (field separator) option is not available in the
GRASS-6.2.2 version of v.out.ascii that I am using.<br>
<br>
Kind regards,<br>
<br>
Luigi<br>
<br>
Carlos "Guâno" Grohmann wrote:
<blockquote
 cite="mid:bd07447b0708221513g5daa98fbie9a37959a568631e@mail.gmail.com"
 type="cite">
  <pre wrap="">Luigi (and everyone else)

can you try this version?

I must be going crazy or something. Apparently, I did the changes in
r.surf.nnbathy back when I started that thread you cited, about a
month ago.. but I forgot to test it and submit it..

I did a fast test here and it worked fine, with a 3D vector points layer.

hope it works!

cheers

Carlos




On 8/22/07, Luigi Ponti <a class="moz-txt-link-rfc2396E" href="mailto:lponti@infinito.it">&lt;lponti@infinito.it&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> Carlos: Thanks for your prompt reply.

 I am using r.surf.nnbathy 1.9, 2007.01.02, and if I don't enter any raster
name, it complains:

ERROR: Raster map not found
 How can the script work if I don't give it an input name? I did not
understand what is the "second option" you mentioned in your message, so I
am asking whether the following command line corresponds to what you mean:

r.surf.nnbathy input= output=3D_vector_name alg=nn
 Sorry for my bad intuition and thanks again,

 Luigi


 Carlos "Guâno" Grohmann wrote:
 Luigi, I just went to look at r.surf.nnbathy, and we _can_ use it to
interpolate 3D vector points.
just don't enter any raster, and use the second option, for a 3D vector.

works well, and it is fast.

cheers

Carlos



On 8/22/07, Luigi Ponti <a class="moz-txt-link-rfc2396E" href="mailto:lponti@infinito.it">&lt;lponti@infinito.it&gt;</a> wrote:


 Dear list,

Is there any working version of v.surf.nnbathy around? From this recent post
<a class="moz-txt-link-freetext" href="http://www.nabble.com/do-not-export-categories-with-v.out.ascii-t4142590.html">http://www.nabble.com/do-not-export-categories-with-v.out.ascii-t4142590.html</a>

it did not sound like an impossible thing. I am looking to replace
v.surf.idw with a more robust interpolation method (natural neighbour?)
in my mapping routine -- my input is scattered 3D vector points. I am
just checking to see if somebody else already did it before trying to
modify r.surf.nnbathy myself (I am not really a programmer).

Thanks and regards,

Luigi

_______________________________________________
grassuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</a>
<a class="moz-txt-link-freetext" href="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</a>






    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
</body>
</html>