[GRASSLIST:4149] g.remove
Sabine Grabner
csab7771 at uibk.ac.at
Tue Aug 10 08:17:49 EDT 2004
hello,
i have a problem removing vector files, where the attributes are stored in a
postgresql database.
thanks for help, sabine
CREATION OF VECTOR FILE:
========================
GRASS 5.7.0 > echo " select ..." | db.select -c | v.in.ascii -z \
out=temp200012311800 xcol=1 ycol=2 zcol=3 catcol=0 columns='...'
Maximum input row length: 70
Maximum number of columns: 7
Minimum number of columns: 7
column: 1 type: double
column: 2 type: double
column: 3 type: integer
column: 4 type: integer
column: 5 type: double
column: 6 type: integer
column: 7 type: string length: 19
Building topology ...
8 primitives registered
0 areas built 0%
0 isles built
Topology was built.
Number of nodes : 8
Number of primitives: 8
Number of points : 8
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0
Mapset
<sabine> in Location <oetztal>
ATTEMPT TO DELETE THE VECTOR FILE:
==================================
GRASS 5.7.0 > g.list vect
----------------------------------------------
vector files available in mapset sabine:
temp200007311800 temp200008311800 temp200012311800
----------------------------------------------
Mapset
<sabine> in Location <oetztal>
GRASS 5.7.0 > g.remove vect=temp200012311800
REMOVE [temp200012311800]
dbname=sabine,: no such driver available
WARNING: Cannot open driver 'dbname=sabine,'
WARNING: Cannot open database 'host=...,' by driver
'dbname=sabine,'
WARNING: Cannot get info if table 'temp200012311800' linked to vector
exists.
WARNING: Cannot delete vector
Mapset
<sabine> in Location <oetztal>
GRASS 5.7.0 >
More information about the grass-user
mailing list