On 22/05/2023 20:06, Rich Shepard wrote:
I've added elevation and a feature name to the standard format v.in.ascii
file. Grass reports an import error; the same error occurs without those two
added columns. I'm not seeing the error, your fresh eyes will see it.

Data file:


Do you actually have the text "Data file:" as part of the header? AFAIK, You need, at minimum, "VERTI:" in the header.


B 5
 45.654023|-122.980241|393|Shop
 45.653931|-122.980315|393|Shop
 45.653960|-122.979910|393|Shop
 45.653856|-122.979831|393|Shop
 45.654023|-122.980241|393|Shop

Command:
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

Results:
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
WARNING: Unexpected data in vector header:
         [B 5]
ERROR: Import failed

I've not calculated a centroid; intend to use v.centroid to add the point to
the bound area.

Help appreciated,

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
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
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to