[GRASS-dev] [GRASS GIS] #3167: db.connect: connection to remote database does not work

GRASS GIS trac at osgeo.org
Wed Sep 28 05:06:45 PDT 2016


#3167: db.connect: connection to remote database does not work
--------------------------+-----------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  blocker      |  Milestone:  7.0.5
 Component:  Database     |    Version:  unspecified
Resolution:               |   Keywords:  postgresql db.connect
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-----------------------------------

Comment (by mlennert):

 Another issue linked to the wxGUI (reported by Stefan Lüdtke - I can
 confirm):

 "If everything is in db.login, I can connect to the db (as reported
 earlier) and list tables. However I can neither link nor import them
 because they are not listed in the gui box."

 I can see the database in the list, but once I select it, no tables are
 listed.

 Using


 {{{
 v.in.ogr input="PG:dbname=testgrass host=myRemoteServer"
 layer=boundary_county out=bc
 }}}

 I can import a layer, but not using


 {{{
 v.in.ogr input="PG:dbname=testgrass" layer=boundary_county out=bc
 }}}

 I imagine v.in.ogr does not take into account the .grass7/dblogin file.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3167#comment:12>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list