[GRASSLIST:1050] Re: vector map <-> db connection

Jachym Cepicky jachym.cepicky at centrum.cz
Tue May 9 10:40:41 EDT 2006


Hallo,

is file "kutak1.dbf" in your $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ ?

If no, where is it? 

Jachym

On Tue, May 09, 2006 at 12:51:25PM +0200, Stefán István wrote:
> Hello List!
> 
> I have problem connecting a vector map to a database.
> I created a vectormap by the v.digit command, and then I would like to add 
> some information to the digitialized points.
> 
> I created a db connection with this command:
> GRASS 6.1.cvs (Ferencvaros):~ > v.db.connect -o map=kietmelo_kutak_1 
> driver=dbf table=kutak1
> WARNING: Table <kutak1> does not exist in database
>          <$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/>
> WARNING: The table <kutak1> is now part of vector map <kietmelo_kutak_1>
>          and may be deleted or overwritten by GRASS modules.
> 
> Then I tried to add columns, but I got error message:
> GRASS 6.1.cvs (Ferencvaros):~ > v.db.addcol map=kietmelo_kutak_1 columns="nev 
> varchar(10)"
> DBMI-DBF driver error:
> Table 'kutak1' doesn't exist.
> Error in db_execute_immediate()
> 
> ERROR: Error while executing: "ALTER TABLE kutak1 ADD COLUMN nev
>        varchar(10)
>        "
> ERROR: Cannot continue (problem to add column).
> 
> 
> What did I wrong?
> 
> Thanks for the help in advance,
> Istvan
> 

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060509/8c064b59/attachment.bin


More information about the grass-user mailing list