[GRASS-user] Importing .csv table into GRASS

Moritz Lennert mlennert at club.worldonline.be
Fri Jun 26 05:53:18 EDT 2009


On 26/06/09 10:34, JanaKr wrote:
> Hello,
> 
> I am trying to import a simple okresy.csv table, the first few lines of
> which are:  
> 
> CAT,AREA,PERIMETER,CISLO_OKR,SO2_KG,SO2_OBYV
> 64,9485480,15278.33,101,3384,0.08
> 66,92488080,53576.26,102,3384,0.03
> 62,74758064,39651.84,103,3384,0.05
> 63,96450584,56394.8,104,3384,0.04
> 
> Using  db.in.ogr okresy.csv out=okresy returns error message:
> Input table <okresy.csv>   not found or not readable
> 
> I am using Linux installation of GRASS 6.3, I tried to use full path to the
> .csv file, I tried to move it to current directory, but the message was
> always the same. Then I thought maybe my .csv file is not OK ... so I
> checked the http://www.gdal.org/ogr/drv_csv.html, but seems OK.
> 
> Does anyone have any clue?

use v.in.ascii ?

Moritz


More information about the grass-user mailing list