[GRASS-user] v.in.ascii error: bad type reading source file

Alexander Muriy amuriy at gmail.com
Sat Oct 6 11:18:25 PDT 2012


>    Running 6.5svn on Slackware and trying to import an ASCII text file with
> lat/lon coordinates. Here are the first two lines of the file:
>
> SC-100|41.42188333|-115.99418333
> SC|42.30416667|-116.10600000
>
>    When I run this command:
>
> v.in.ascii -n
> in='/home/rshepard/projects/nevada/queenstake/sites-data/biosites.csv'
> out=biosites format=standard col='name varchar(10), y double precision, x
> double precision' x=3 y=2 cat=0 --o
>
>
>

Rich, try to import in "point" format and without "-n" flag:

v.in.ascii
in='/home/rshepard/projects/nevada/queenstake/sites-data/biosites.csv'
out=biosites col='name varchar(10), y double precision, x double precision'
x=3 y=2 cat=0 --o

-----------------------
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121006/f0550ddc/attachment-0001.html>


More information about the grass-user mailing list