Changes between Initial Version and Version 1 of Ticket #2903, comment 7
- Timestamp:
- 09/14/18 05:39:49 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2903, comment 7
initial v1 39 39 cats="1-99999999") 40 40 }}} 41 42 A workaround would be to loop over the single coordinate pairs and break the line vector by each pair separately (however, this is comparably very slow): 43 {{{ 44 for i in firestations_connectors_coors: 45 grass.run_command("v.edit", 46 tool="break", 47 map="railroads_2", 48 coords=i[0], 49 threshold=50, 50 layer=1, 51 cats="1-99999999") 52 grass.run_command("v.category", 53 input="railroads_2", 54 option="add", 55 output="railroads_2a", 56 layer=2) 57 }}}