[GRASS-dev] Re: [GRASS GIS] #671: wxgui: v.distance to_column option
inaccessible
GRASS GIS
trac at osgeo.org
Tue Jul 7 10:27:29 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
-----------------------+----------------------------------------------------
Comment (by martinl):
Replying to [comment:6 martinl]:
> Replying to [comment:2 martinl]:
> > Replying to [comment:1 martinl]:
> > > 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;
> > > }}}
To make things more simple, let's switch from array to a string, where
option keys are separated by comma, e.g.
{{{
sprintf(buf, "%s,%s", to_column->key, to_column1->key);
to->field->guidep = G_store(buf);
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/671#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list