[GRASS-dev] Re: [GRASS GIS] #787: v.in.db: add v.in.ogr-like "-t"
option
GRASS GIS
trac at osgeo.org
Wed Jan 13 05:06:37 EST 2010
#787: v.in.db: add v.in.ogr-like "-t" option
---------------------------+------------------------------------------------
Reporter: grasslandtom | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.4.0
Component: Vector | Version: unspecified
Resolution: invalid | Keywords: v.in.db
Platform: Unspecified | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by grasslandtom):
* status: new => closed
* resolution: => invalid
Comment:
Oops! I see, I should have asked on the mailinglist before filing this.
Nevertheless: what I meant was something like
{{{
#import vector from table without copying the table:
v.in.db -t sometable x=x_col y=y_col cat=id_col out=somevector
# connect to original table
v.db.connect somevector table=sometable key=id_col
}}}
But this could be mimicked by
{{{
db.select sometable sql='select x_col,y_col,id_col from sometable' |
v.in.ascii -t cat=3 out=somevector
v.db.connect somevector table=sometable key=id_col
}}}
Thus I set this to resolved as invalid.
Thanks for the hint with the pipe! Sorry for being to quick asking here.
Tom
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/787#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list