<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 7/21/19 8:01 PM, Rich Shepard wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1907210948440.412@salmo.appl-ecosys.com">On
Sat, 20 Jul 2019, Micha Silver wrote:
<br>
<br>
<blockquote type="cite">echo "VERTI:
<br>
B 1 5
<br>
-123.940000 45.150100
<br>
-123.940000 45.145400
<br>
-123.960000 45.145400
<br>
-123.960000 45.150100
<br>
-123.940000 45.150100
<br>
1 1
<br>
C 1 1
<br>
-123.950000 45.147500
<br>
1 1" | v.in.ascii input=- output=analysis_region
format=standard
<br>
</blockquote>
<br>
I did this in two steps, rather than echoing the data file because
it and
<br>
where grass runs are two different directories.
<br>
<br>
analysis_points.dat:
<br>
<br>
VERTI:
<br>
B 5 # There are 5 coordinates and no categories
<br>
-123.940000 45.150100
<br>
-123.940000 45.145400
<br>
-123.960000 45.150100
<br>
-123.960000 45.145400
<br>
-123.940000 45.150100
<br>
1 1
<br>
C 1
<br>
-123.950000 45.147500
<br>
1 1
<br>
<br>
GRASS now fails to import the data file:
<br>
<br>
v.in.ascii in=analysis_points.dat out=analysis_corners
for=standard --o
<br>
WARNING: Error reading ASCII file: (unknown type) [ 1 1]
<br>
ERROR: Import failed
<br>
<br>
</blockquote>
<p><br>
</p>
<p>Double check that you have a leading space (or tab) on the lines
with the layer and category: " 1 1"</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1907210948440.412@salmo.appl-ecosys.com">Grass
seems to not like the layer and category number for the centroid
as
<br>
removing those for the boundary produces the same error.
<br>
<br>
What am I still missing?
<br>
<br>
Regards,
<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>