#787: v.in.db: add v.in.ogr-like "-t" option
---------------------------+------------------------------------------------
  Reporter:  grasslandtom  |       Owner:  [email protected]
      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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to