[GRASS-user] SOLVED: Re: deleting lines by length, from a vector map

2019-12-01 Thread Zoltan Szecsei
Hi All, Thanks go to Markus, Micha and Moritz for contribution. Having been guided to v.edit, it was quite trivial: gscript.run_command('v.edit', map=gen, type='line', tool='delete', threshold='-1,0,-50', query='length', overwrite=True) Note the triplet value for Threshold. Thanks again, Zolta

Re: [GRASS-user] deleting lines by length, from a vector map

2019-12-01 Thread Moritz Lennert
On 1/12/19 08:39, Micha Silver wrote: On 30/11/2019 16:11, Zoltan Szecsei wrote: Hi, I'm trying to write my first Grass python script to load Shape files and delete all lines shorter than 50m I'm trying various permutations of the command below, but  no success (No error message and no lines