[GRASS-user] Points to area workflow
Rich Shepard
rshepard at appl-ecosys.com
Sun Jul 21 10:01:46 PDT 2019
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
More information about the grass-user
mailing list