[GRASS-dev] [GRASS GIS] #1702: column selector for v.distance in wxGUI doesn't work

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------
The column selector drop down for v.distance in the GUI dialog does not
work. The same problem happens on a couple other modules, probably for the
same reason.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702&gt;
GRASS GIS <http://grass.osgeo.org>

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------

Comment(by mmetz):

Replying to [ticket:1702 cmbarton]:
> The column selector drop down for v.distance in the GUI dialog does not
work. The same problem happens on a couple other modules, probably for the
same reason.

The reason is that the wxGUI does not know to which vector the column
option belongs if a module operates with more than one input vector map,
such as v.distance. That would require some information to be stored with
a particular column option, to what vector and layer option it belongs.
Similarly, the wxGUI does not know to which vector a layer or table option
belongs.

Markus M

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------

Comment(by cmbarton):

That makes sense. But seems like there ought to be a way to fix this.
Typing the column name is a workaround of course.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------
Changes (by wenzeslaus):

  * milestone: 6.4.3 => 6.4.4

Comment:

This probably requires changes to g.parser and this will not happen now,
changing milestone.

As a temporary solution, I would suggest that combobox (drop down
selector) can be changed to simple text input field. This could avoid
confusion of the user.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------

Comment(by cmbarton):

This is a good solution for GRASS 6.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1702: column selector for v.distance in wxGUI doesn't work
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: unspecified
Keywords: column select | Platform: Unspecified
      Cpu: Unspecified |
---------------------------+------------------------------------------------

Comment(by cmbarton):

Can someone change the relevant C code for this?

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1702#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>