[GRASSLIST:4657] Re: vector database stuff and gshhs

Radim Blazek blazek at itc.it
Thu Oct 28 06:58:59 EDT 2004


On Wednesday 27 October 2004 03:37, Ian MacMillan wrote:
> Hi all, so I have changed tactics and tried to import the gshhs data
> into 5.7 a different way (since 24 hours of v.convert only put me at 6%
> finished for a ~180 MB file).  I first tried to export it from 5.3 as
> an ascii file.  I could import the file into 5.7 with v.in.ascii (and
> display it), however I don't understand how to get the attributes from
> the old dig_cats file to connect with the imported file.  I know this
> is all part of the new database management of vectors in 5.7, but after
> reading everything I could on the help pages, I think I am more
> confused.  I don't really know anything about dbf files, ODBC, SQL, or
> other database formats.  Do I need to learn how to use a database
> program to use vectors in GRASS?  Isn't there a simple way to convert a
> dig_cats file into a .dbf file and connect that to my vector file?

The problem is in grass 5.3 vector format. Categories are stored as 
points and then attached  to lines, that takes long time for
large files. Try to avoid 5.3, for example try to find shapefile.

Radim




More information about the grass-user mailing list