1,687 reputation
834
bio website docs.google.com/…
location Atherton, Australia
age 38
visits member for 2 years, 11 months
seen Mar 28 at 2:02

I am a conservation biologist (with 15 years international experience) who is now working in the Spatial industry. I am focused on automating large processes using python along with ESRI/Mapinfo and open source GIS tools that complement the strengths of each other.


Sep
22
asked Setting “REAL” work/scratch workspace in ESRI/ERDAS etc
Sep
22
revised Efficiency of python script using SAGA and arcpy
see Update 2 for new info.
Sep
22
revised Efficiency of python script using SAGA and arcpy
added 2950 characters in body
Sep
22
comment Efficiency of python script using SAGA and arcpy
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
20
revised Efficiency of python script using SAGA and arcpy
updated code
Sep
20
revised Efficiency of python script using SAGA and arcpy
updated code
Sep
20
comment Efficiency of python script using SAGA and arcpy
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
revised Efficiency of python script using SAGA and arcpy
updated questions and code based on answers from forum and further research
Sep
20
revised Efficiency of python script using SAGA and arcpy
added 4573 characters in body
Sep
20
comment Efficiency of python script using SAGA and arcpy
@johanvdw -thanks for your input. I have tried to implement the process using the notes in the wiki but some steps aren't clear. The original question has been updated with this info.
Sep
16
comment Efficiency of python script using SAGA and arcpy
I tried it and it can't save it to this space from the bat. [[C:\SAGA\saga_cmd io_shapes_las "Import LAS Files" -POINTS=in_memory\\%1.spc -FILE=%3\%1_1K_class.las -T -i -a -r -c -u -n -R -G -B -e -d -p -C -VALID -RGB_RANGE=0 PAUSE c:\SAGA\saga_cmd pointcloud_tools "Point Cloud to Shapes" -POINTS=in_memory\\%1.spc -SHAPES=%2\%1_fc.shp ]]
Sep
16
comment Efficiency of python script using SAGA and arcpy
-isn't this only for arcgis? I am calling a SAGA command in 'bat' file from an arcgis python script.
Sep
15
revised Efficiency of python script using SAGA and arcpy
added 218 characters in body
Sep
15
revised Efficiency of python script using SAGA and arcpy
included main code into question
Sep
15
comment Efficiency of python script using SAGA and arcpy
I can't figure out how to use the in_memory workspace to call the in memory spc file into the SAGA point cloud to shape utility. The code text is at sourceforge.net/projects/saga-gis/forums/forum/790705/topic/… and I've updated the question.
Sep
15
comment Efficiency of python script using SAGA and arcpy
Thanks mate. I can't download the saga_api from saga-project.org/download/python -any idea where else it is? This gives a 404 error.
Sep
14
comment Efficiency of python script using SAGA and arcpy
That's cool ... so I don't need to call a bat file, as it seems we can run SAGA direct from python. The code isn't clear though on what tells it to use the memory rather than the HD. I have 16GB RAM. The LAS is 1km x 1km tile at 8pts/m. Looking at shp2xyz(fshp, fxyz) in the def. which line calls the SAGA command? is it if shp.Create(saga_api.CSG_String(fshp)) == 0: Are there other examples with documentation? Thanks again...
Sep
14
comment Efficiency of python script using SAGA and arcpy
Thanks that's great...i was trying to find out how to do this though and couldn't. The system also crashes on 1km x 1km LAS conversions to shp eventhough I have 1tb of space on the drives.
Sep
13
asked Efficiency of python script using SAGA and arcpy
Sep
11
comment Issues with defining projection to that of the current root file
-thanks for the points...it's unfortunate that there is no way to automate this.