<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Manuel Francisco Maestre Páez a écrit :
<blockquote
cite="midOF8B50F7F7.A622D854-ONC12572EA.00367B50-C12572EA.00369F56@tragsatec.es"
type="cite">
<pre wrap="">Maybe a problem with gdal libraries. Has v.in.ascii worked some time? or
never worked?
Manuel Francisco Maestre Páez
-----grassuser-bounces@grass.itc.it escribió: -----
Para: gary <a class="moz-txt-link-rfc2396E" href="mailto:lists@lazygranch.com"><lists@lazygranch.com></a>
De: Poizot Emmanuel <a class="moz-txt-link-rfc2396E" href="mailto:poizot@cnam.fr"><poizot@cnam.fr></a>
Enviado por: <a class="moz-txt-link-abbreviated" href="mailto:grassuser-bounces@grass.itc.it">grassuser-bounces@grass.itc.it</a>
Fecha: 29/05/2007 11:07
cc: <a class="moz-txt-link-abbreviated" href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</a>
Asunto: Re: [GRASS-user] v.in.ascii don't work
gary a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">When I had a similar problem, I ended up using csv file from a
spreadsheet as the input file.
Otto Dassau wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
for me (GRASS 6.3cvs) the import of your test data works, the syntax is
correct. Maybe you need to check your test.txt for <space> values in
your
columns etc?
regards,
Otto
On Tue, 29 May 2007 09:31:38 +0200
Poizot Emmanuel <a class="moz-txt-link-rfc2396E" href="mailto:poizot@cnam.fr"><poizot@cnam.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I'm unable to input text file in GRASS using v.in.ascii.
I'm (trying) working on GRASS 6.2.1 under Ubuntu Fiesty
I have a text file (test.txt) which containing:
1|3.5|43.6|2.3
2|3.55|43.605|1.2
3|3.51|43.621|-2.3
4|3.485|43.704|56.1
5|3.498|43.5|7.1058
I would like to import it in a new layer with the following command:
cat test.txt | v.in.ascii out=test columns='nul int, x double, y
double, val double' fs="|" x=2 y=3 z=0
and the outputs of that command is:
Maximum input row length: 20
Maximum number of columns: 4
Minimum number of columns: 4
column: 1 type: integer
column: 2 type: double
column: 3 type: double
column: 4 type: double
Building topology ...
0 primitives registered 0 areas built 0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0
So no points are imported in the layer.
I turn around that problem wich normally should work, as what I raed
everywhere, but not for me !!
Regards
E. POIZOT
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
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=""><!---->Hi,
I check for spaces on columns, misllaneous character, etc. The text file
is clean.
I also check the bounadries of my region settings and it's ok, the
points are inside it.
I just produced a CSV file from a spreadsheet, and still not work.
How to know what happend durin v.in.ascii execution (debug or a log file) ?
Regards
EP
--
Cordialement
------------------------------------------------
Emmanuel Poizot
Cnam/Intechmer
B.P. 324
50103 Cherbourg Cedex
Phone (Direct) : (00 33)(0)233887342
Fax : (00 33)(0)233887339
------------------------------------------------
_______________________________________________
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>
(See attached file: poizot.vcf)</pre>
</blockquote>
I've got a fresh install of GRASS on one of my Ubuntu fiesty and it
never work on it at all<br>
<br>
regards<br>
<br>
EP<br>
<br>
<pre class="moz-signature" cols="72">--
Cordialement
------------------------------------------------
Emmanuel Poizot
Cnam/Intechmer
B.P. 324
50103 Cherbourg Cedex
Phone (Direct) : (00 33)(0)233887342
Fax : (00 33)(0)233887339
------------------------------------------------</pre>
</body>
</html>