[GRASS-dev] [GRASS GIS] #2576: db.columns cannot find table created by v.overlay
GRASS GIS
trac at osgeo.org
Tue Feb 3 03:43:54 PST 2015
#2576: db.columns cannot find table created by v.overlay
-------------------------+--------------------------------------------------
Reporter: pertusus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-releasebranch70
Keywords: | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by mmetz):
Replying to [ticket:2576 pertusus]:
> With svn 7.0.0 up-to-date (r64408). The table created by v.overlay can
be queried by v.db.select, but db.columns does not find it:
>
{{{
v.overlay ainput=uno atype=area alayer=1 binput=due btype=area blayer=1
output=test_or operator=or olayer=1,0,0 --overwrite
db.columns test_or
}}}
>
{{{
WARNING: Table <test_or> not found in database
<$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db> using driver
<sqlite>
}}}
>
The name of the table created by v.overlay is test_or_1, not test_or. The
reason is that v.overlay might create several tables for the output.
Please use v.db.connect -g first.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2576#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list