[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 05:03:58 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
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mlennert):

 Replying to [ticket:3216 pvanbosgeo]:
 > 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.

 AFAIK, this is an issue in every single module where a list of columns
 comes from another source than the main 'map'. AFAIU, this is inherent to
 the way this widget is programmed in the GUI. ISTR that there have been
 discussions about this, but don't have the time to search for this. I
 would guess that the widget would need some parameter with the name and
 layer of the map from which to get the list of column...

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



More information about the grass-dev mailing list