[GRASS-dev] Re: [GRASS GIS] #671: wxgui: v.distance to_column option
inaccessible
GRASS GIS
trac at osgeo.org
Tue Jul 7 06:55:27 EDT 2009
#671: wxgui: v.distance to_column option inaccessible
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: v.distance to_column
Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by martinl):
* cc: grass-dev at lists.osgeo.org (added)
* owner: grass-dev at lists.osgeo.org => martinl
* status: new => assigned
Comment:
The reason is that the module contains more {{{G_OPT_V_FIELD}}} parameters
- in this case 'from_layer' and 'to_layer'. There is no way how to
determine what layer is connected with 'to_column' paramater. Generally
speaking all modules which have more 'layer/table/database/...' parameters
are affected. The current approach is simple: e.g. update all
{{{G_OPT_DB_COLUMN}}} parameters when {{{G_OPT_V_FIELD}}} parameter value
is changed.
I am not sure how to solve this problem. One approach could be to add new
attribute to the {{{Option}}} structure to track special dependencies. In
the case of v.select:
{{{
to_field->guidep = to_column;
}}}
Any ideas?
Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/671#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list