On 7/21/19 8:01 PM, Rich Shepard wrote:
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="" --o
WARNING: Error reading ASCII file: (unknown type) [ 1 1]
ERROR: Import failed
Double check that you have a leading space (or tab) on the lines
with the layer and category: " 1 1"
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
--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
|
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user