<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;">
<p><br>
</p>
<div class="moz-cite-prefix">On 22/05/2023 20:06, Rich Shepard
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9bcbf26-5e99-2d25-c58-a5b8b6838075@appl-ecosys.com">I've
added elevation and a feature name to the standard format
v.in.ascii
<br>
file. Grass reports an import error; the same error occurs without
those two
<br>
added columns. I'm not seeing the error, your fresh eyes will see
it.
<br>
<br>
Data file:
<br>
</blockquote>
<p><br>
</p>
<p>Do you actually have the text "Data file:" as part of the header?
AFAIK, You need, at minimum, "VERTI:" in the header. <br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:9bcbf26-5e99-2d25-c58-a5b8b6838075@appl-ecosys.com">B 5
<br>
45.654023|-122.980241|393|Shop
<br>
45.653931|-122.980315|393|Shop
<br>
45.653960|-122.979910|393|Shop
<br>
45.653856|-122.979831|393|Shop
<br>
45.654023|-122.980241|393|Shop
<br>
<br>
Command:
<br>
v.in.ascii -z
in=$HOME/projects/oregon/northside-rock/data/shop.txt
out=maintenance_bldg format=standard sep=pipe cat=0 x=1 y=2 z=3
columns='x double precision, y double precision, z integer, label
char(4)' --o
<br>
<br>
Results:
<br>
v.in.ascii -z
in=$HOME/projects/oregon/northside-rock/data/shop.txt
out=maintenance_bldg format=standard sep=pipe cat=0 x=1 y=2 z=3
columns='x double precision, y double precision, z integer, label
char(4)' --o
<br>
WARNING: Unexpected data in vector header:
<br>
[B 5]
<br>
ERROR: Import failed
<br>
<br>
I've not calculated a centroid; intend to use v.centroid to add
the point to
<br>
the bound area.
<br>
<br>
Help appreciated,
<br>
<br>
Rich
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>