Timeline for Sending arguments to LAStools function from Python script not working
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 27, 2016 at 21:45 | comment | added | Michael Stimson | That's interesting.. you can use the format example to create the single argument from your parameters as you create the list. I've not tried it that way; so it seems that the args are digestible if they are either individual components with no spaces or a single string containing all arguments, so long as they're not mixed. | |
Apr 27, 2016 at 8:31 | comment | added | Mihnea |
Writing the commands to a text file is indeed a good idea. What I found also works (at least in my case) is concatenating the entire argument list in a single string. So something like: args = ['lasground', '-i *.las -o etc.las -step 5 -etc -etc']
|
|
Apr 27, 2016 at 8:28 | vote | accept | Mihnea | ||
Apr 26, 2016 at 21:41 | history | answered | Michael Stimson | CC BY-SA 3.0 |