[GRASS-dev] Re: [GRASS GIS] #787: v.in.db: add v.in.ogr-like "-t"
option
Michael Barton
michael.barton at asu.edu
Wed Jan 13 10:18:35 EST 2010
On Jan 13, 2010, at 3:41 AM, grass-dev-request at lists.osgeo.org wrote:
> Message: 8
> Date: Wed, 13 Jan 2010 10:06:37 -0000
> From: "GRASS GIS" <trac at osgeo.org>
> Subject: [GRASS-dev] Re: [GRASS GIS] #787: v.in.db: add v.in.ogr-like
> "-t" option
> To: undisclosed-recipients:;
> Message-ID: <055.d16c0a53f64b6dcb3f7115fa194af191 at osgeo.org>
> Content-Type: text/plain; charset="utf-8"
>
> #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
All well and good for *nix OS's, but Windows doesn't have a pipe like this.
Michael
More information about the grass-dev
mailing list