On Sat, 20 Jul 2019, Micha Silver wrote:

echo "VERTI:
B 1 5
 -123.940000 45.150100
 -123.940000 45.145400
 -123.960000 45.145400
 -123.960000 45.150100
 -123.940000 45.150100
 1 1
C 1 1
 -123.950000 45.147500
 1 1" | v.in.ascii input=- output=analysis_region format=standard

I did this in two steps, rather than echoing the data file because it and
where grass runs are two different directories.

analysis_points.dat:

VERTI:
B 5                     # There are 5 coordinates and no categories
 -123.940000 45.150100
 -123.940000 45.145400
 -123.960000 45.150100
 -123.960000 45.145400
 -123.940000 45.150100
 1 1
C 1
 -123.950000 45.147500
 1 1

GRASS now fails to import the data file:

v.in.ascii in=analysis_points.dat out=analysis_corners for=standard --o
WARNING: Error reading ASCII file: (unknown type) [ 1 1]
ERROR: Import failed

Grass seems to not like the layer and category number for the centroid as
removing those for the boundary produces the same error.

What am I still missing?

Regards,

Rich
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to