Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have been using a publicly available tool in ArcGIS called SPreAD-GIS. It is a series of python scripts that are "implemented as an ArcGIS toolbox" (with tbx file).

I am new to QGIS. Is there a way to incorporate and use SPreAD-GIS in QGIS? Any help would be appreciated. Thank you.

share|improve this question
1  
Do you mean ArcGIS and not QGIS? –  dchaboya Apr 9 '13 at 15:02
    
I am using QGIS. Since the scripts are already in python it would seem they could be added as plugins. Just not sure of the process. Thank you. –  Gary Apr 9 '13 at 15:27
    
Thank you everybody for your thoughts. I have been looking more into this and yes it would take a rewrite. The code is relatively simple and will make an attempt to rewrite so that portions can be used as qgis plugin. Never done this before but should be good learning experience. –  user17076 Apr 11 '13 at 20:15
add comment

2 Answers 2

Generally speaking, You cannot add a ArcGIS toolbox to QGIS, as they rely on Arcgis to work.

Most of the python scripts, actually call the standard ArcGIS Geoprocessing tools. Very Few Scripts are pure Python, or call other libraries.

Since there is no 1:1 correspondence between ArcGIS geoprocessing Tools and QGIS's pyqgis, you really can't expect the scripts to work without modification.

Coming to toolboxes. ArcGIS's .tbx files are binary files in a proprietary format, and cannot be read outside of ArcGIS.

Hence, generally speaking, you cannot add and use an ArcToolbox with QGIS.

share|improve this answer
    
It may be possible to use/port the Python scripts for use in QGIS, though. –  user3461 Apr 9 '13 at 15:21
1  
@GeoKevin Not without a total rewrite though. –  Devdatta Tengshe Apr 9 '13 at 15:22
add comment

This would be a very expensive route to take but in theory an organisation could use ArcGIS for Server 10.1 to publish your ArcGIS toolbox tool(s) as OGC Web Processing Services (WPS) to be consumed by QGIS for which I think there is a WPS plug-in available.

share|improve this answer
    
Its interesting but is it really possible ? –  Sunil Apr 10 '13 at 4:48
    
I have not seen it done & don't currently have the licensing to test it. If anyone has tried and succeeded/failed I will be keen to hear. –  PolyGeo Apr 10 '13 at 11:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.