Skip to main content
26 events
when toggle format what by license comment
Sep 16, 2018 at 10:39 history closed PolyGeo Needs more focus
Apr 16, 2016 at 20:39 history edited Andre Silva CC BY-SA 3.0
edited title for searchability, edited body for readability, edited tags
Oct 11, 2014 at 23:46 history edited PolyGeo
edited tags
Oct 11, 2011 at 6:01 vote accept GeorgeC
Sep 27, 2011 at 7:28 comment added johanvdw GeorgeC: send a mail to the saga-dev mailinglist - I'm not able to help you right now.
Sep 27, 2011 at 2:21 comment added GeorgeC @johanvdw can you help with completing this?
Sep 22, 2011 at 23:04 comment added GeorgeC It's probably something simple I am doing wrong here. I still get the same error and can't figure out how to get a speciefic error message so that I can fix it...I tried by adding {{print os.error.filename, os.error.args, os.error.errno, }} to the module execution code >>> SAGA Application Programming Interface - Version: 2.0.7 Module Loaded <member 'errno' of 'exceptions.EnvironmentError' objects> <attribute 'message' of 'exceptions.BaseException' objects> <member 'strerror' of 'exceptions.EnvironmentError' objects> module execution failed >>>
Sep 22, 2011 at 12:00 comment added johanvdw Still no access to python here, can you try return Parms('POINTS').asPointCloud() instead of return pSpc ? I hope this works (in C++ both work, my python knowledge is the limiting factor here).
Sep 22, 2011 at 11:39 comment added GeorgeC I do know what sys arg's are but wasn't clear on how they are used in the script you provided. Even with the values put in it still gives the same error. That's why I was inquiring about where to input the names of the files to process. So can we trace why the program gives the error I posted?
Sep 22, 2011 at 7:18 comment added johanvdw google sys.arg, first hit: docs.python.org/library/sys.html ; you run it from the command line, but of course you could also specify the filenames any other way.
Sep 22, 2011 at 3:51 history edited GeorgeC CC BY-SA 3.0
see Update 2 for new info.
Sep 22, 2011 at 3:33 history edited GeorgeC CC BY-SA 3.0
added 2950 characters in body
Sep 22, 2011 at 3:13 comment added GeorgeC I'm still having issues. Mostly as I don't understand - 1) What do all the sys.arg[1-4] values mean? Is this designed to run as an arcgis tool? 2)I/O where do we feed it the input LAS file and the output etc?
Sep 21, 2011 at 7:38 comment added johanvdw I've updated my answer. You are mixing up a lot of things. First of all you are using the wrong module. You are also not setting the parameters to anything sensible. Check the parameters for the module you need as explained in the wiki.
Sep 20, 2011 at 23:48 history edited GeorgeC CC BY-SA 3.0
updated code
Sep 20, 2011 at 23:40 history edited GeorgeC CC BY-SA 3.0
updated code
Sep 20, 2011 at 23:38 comment added GeorgeC thanks. I just wasn't sure how much the autogenerated python needed editing. Anyway I re-wrote it and am getting an error on the SAGA execution. Is there a way to see what exactly the error is? Code and result updated above.
Sep 20, 2011 at 7:49 comment added johanvdw I don't have time to give a full answer, but read the wiki, especially the last sentence: you have to edit the file to work. Perhaps it is better to base yourself on the examples in the wiki rather than on the autogenerated file.
Sep 20, 2011 at 4:33 history edited GeorgeC CC BY-SA 3.0
updated questions and code based on answers from forum and further research
Sep 20, 2011 at 4:21 history edited GeorgeC CC BY-SA 3.0
added 4573 characters in body
Sep 15, 2011 at 6:19 history edited GeorgeC CC BY-SA 3.0
added 218 characters in body
Sep 15, 2011 at 5:54 history edited GeorgeC CC BY-SA 3.0
included main code into question
Sep 13, 2011 at 11:30 answer added johanvdw timeline score: 4
Sep 13, 2011 at 6:49 answer added Hairy timeline score: 0
Sep 13, 2011 at 3:52 history tweeted twitter.com/#!/StackGIS/status/113459965066354688
Sep 13, 2011 at 0:12 history asked GeorgeC CC BY-SA 3.0