Hi users,<div>i am attempting to import a text file of coordinates and labels with v.in.ascii. i have tried the examples on the v.in.ascii help page, and looked through other posts, but still not getting it to do what i want. my text file looks like this:</div>
<div><br></div><div><div>1|559347.1111085|4895479.776597|LookoutCreek</div><div>2|559279.5226510|4895169.852562|WS1</div><div>3|560325.4430751|4895698.527786|WS2</div><div>4|560467.7144132|4896524.618672|WS3</div><div>5|565396.9513978|4901244.968000|WS6</div>
<div>6|565824.8472813|4901596.866088|WS7</div><div>7|566182.9298567|4901784.539545|WS8</div><div>8|566510.6331791|4896570.311094|Mackcreek</div></div><div><br></div><div>if i run it with:<br></div><div>v.in.ascii input=gages.txt output=gages x=2 y=3 cat=1<br>
</div><div>the point vector map is successfully created and given the category numbers in the first column of the text file</div><div><br></div><div>however, what i want are the label names in the 4th column to be attached to the points.</div>
<div><br></div><div>per the manual page, i have tried:<br></div><div><div>cat gages.txt | v.in.ascii out=gages x=2 y=3 cat=1 \ columns='x double precision, y double precision, cat int, name varchar(15)'</div><div>
but i get the error</div><div>Sorry, < columns> is not a valid parameter</div></div><div><br></div><div>i have looked at v.label, v.edit, v.digit - but can't figure out how to get what i want.</div><div><br></div>
<div>can anyone please give me some guidance on this, it would be greatly appreciated.</div><div>thank you,</div><div>Janet</div><div><br></div><div><br></div><div><br></div>