Easy question/v.in.ascii
Ken Sibley
ksibley at ncg.scs.ag.gov
Wed Jul 13 17:00:38 EDT 1994
>
>
> Referring to my message of 13 Jul 94 (Real easy question) and Darrell McCauley's
> reply on 13 Jul 94 (Re: Real easy question), I looked at v.in.ascii and it
> appears to convert an existing map layer in ascii format to a map layer in
> binary format. What I need to do is convert an ascii text file consisting
> of lat lon in two columns to a vector map layer. As far as I can tell from
> the manual, v.in.ascii will not do this. Does anyone know what will?
>
> -Stephen Dzurenko
> Ocean Mapping Division
> Ocean Technology Center
> Graduate School of Oceanography
> University of Rhode Island
>
> ph: 401 792-6853
> fx: 401 792-6849
> e-mail: steve at ocesun1.oce.uri.edu
>
Steve,
This sounds like you should be looking at the site commands. You have
what is a sites file with no attributes. s.in.ascii:
"Each line of input should contain the easting, northing and (optionally)
the category label associated with a site...."
Then use s.to.vect to convert to a vector.
Ken Sibley
USDA-SCS "Hell, if you understand everything I say,
ksibley at ncg.scs.ag.gov you'd be me!" - Miles Davis
More information about the grass-user
mailing list