Nikos Alexandris:
> > distances = grass.read_command("v.distance",\
> > flags = 'pa',\
> > _from = reference_points_map,\
> > to = lowres_vector_grid,\
> > column = gridcell_column,\
> > to_column = "cat",\
> > upload = "to_attr")
Martin Landa wrote:
> btw, there is no need for '\' at the
Hi,
2010/8/6 Nikos Alexandris :
> distances = grass.read_command("v.distance",\
> flags = 'pa',\
> _from = reference_points_map,\
> to = lowres_vector_grid,\
> column = gridcell_column,\
> to_column = "cat",\
> upload = "to_attr")
btw, there is no need for '\' at the of the line.
Martin
On Wednesday 04 of August 2010 15:20:58 schorschli wrote:
> For your task the use of lists and the split tool may help.
> The different lines have are seperated by a '\n' (which is interpreted as
> a new line). After splitting the string into a line list you can make a
> loop each item of this lis
For your task the use of lists and the split tool may help.
The different lines have are seperated by a '\n' (which is interpreted as a
new line). After splitting the string into a line list you can make a loop
each item of this list. Something like this:
output='7839|16\n7839|17\n7839|22\n7839|