[GRASS-dev] Re: [GRASS GIS] #381: wxgui: Show attribute data depends on global db connection, not file db connection parameter

GRASS GIS trac at osgeo.org
Fri Nov 28 16:34:37 EST 2008


#381: wxgui: Show attribute data depends on global db connection, not file db
connection parameter
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  wxGUI        |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by martinl):

 Seems to work for me...

 {{{
 db.connect -p
 driver:sqlite
 database:$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db
 schema:
 group:
 }}}

 {{{
 v.db.connect bz -g
 1 bz cat /home/martin/grassdata/nc_spm_08/sqlite/sqlite.db sqlite
 2 bz1 cat /home/martin/grassdata/nc_spm_08/sqlite/sqlite.db sqlite
 3 p cat grass_test pg
 }}}

 No problem to display attribute data of 'bz' vector map in wxGUI.
 'db.tables' is called on line 2460 in 'dbm' module with 'driver' and
 'database' parameters. So I don't see any problem. Please correct me.

 ?

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/381#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list