[GRASS-dev] [GRASS GIS] #3216: Dropdown menu query_column in v.to.db shows columns of wrong table

GRASS GIS trac at osgeo.org
Tue Dec 6 04:31:57 PST 2016


#3216: Dropdown menu query_column in v.to.db shows columns of wrong table
-------------------------+-------------------------
 Reporter:  pvanbosgeo   |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.6
Component:  Default      |    Version:  unspecified
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 Concerns: The query_column option in the Query tab of the v.to.db function

 Issue: when selecting layer 2 in the query_layer option, the dropdown menu
 of the query_column still shows the column name of the attribute table
 linked to layer 1 instead of the table linked to layer 2.

 Warning: if one selects a column (e.g., VAR1) from the drop-down menu and
 runs v.to.db, a error is raised that "ERROR: Cannot open cursor: 'SELECT
 VAR1 FROM MYTAB WHERE cat = 15'"

 Note: One can still type in the name of the required column, and the
 function will run without problem.

 I am running GRASS 7.3 on Ubuntu 16.04

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3216>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list