[GRASS-user] dbf File not being Created with v.in.ascii

Markus Neteler neteler at itc.it
Mon Jul 23 03:45:14 EDT 2007


Ryan Rosario wrote on 07/23/2007 07:40 AM:
> I have a vector of data points that I imported from a CSV file (which
> was created with R). When I use v.in.ascii, no DBF file is created. I
> basically need this file so I can assign different colors to data
> points based on the value of the datapoint. The vector is imported
> correctly, but the DBF is not created.
>
> v.in.ascii -n input='/Users/ryan/Desktop/Desktop
> Stuff/ems/responseTime.csv' output=response format=point fs=, skip=1
> columns='y double, x double, z double' x=2 y=1 z=3 cat=0 --overwrite
>
> What am I doing wrong? I have attempted this with both the GUI and the
> command line and both with and without the quotes as suggested in a
> previous post. DBF files for the other vectors I imported (from ESRI)
> are showing up though.
If you also have attribute columns, you have to define them (columns
parameter).
See
 g.manual v.in.ascii
for an example (eg, Example 5).

Markus

PS: Unrelated - for table only input I have added 'db.in.ogr' to GRASS
6.3-CVS which
imports DBF, CSV etc.

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-user mailing list