Select to view content in your preferred language

Run ArcGIS python module in python CGI script for Apache server on OSX Lion Server

674
2
Jump to solution
03-14-2013 11:56 AM
PaulStine
New Contributor
I have ArcGIS 10.1 for Desktop running in a virtual machine on a mac computer with OSX Lion Server installed. I have also created a cgi python script for server side processing. I am wondering if it is possible to run the arcpy modules within the cgi python script running on the apache server.

In essence is it possible to simply copy the arcpy modules to a directory accessible by the apache server and then call them from the python cgi script?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MathewCoyle
Honored Contributor
If I understand you correctly... no, most of the the arcpy modules are only the python interface into the geoprocessor .dlls. Not only that you will need to be able to access your license as well. Your executing script will require access to the full ArcGIS installation. I'm pretty sure even attempting to circumvent this is in violation of your Esri EULA.

View solution in original post

0 Kudos
2 Replies
MathewCoyle
Honored Contributor
If I understand you correctly... no, most of the the arcpy modules are only the python interface into the geoprocessor .dlls. Not only that you will need to be able to access your license as well. Your executing script will require access to the full ArcGIS installation. I'm pretty sure even attempting to circumvent this is in violation of your Esri EULA.
0 Kudos
miaoyananmiao
Emerging Contributor
If I understand you correctly... no, most of the the arcpy modules are only the python interface into the geoprocessor .dlls. Not only that you will need to be able to access your license as well. Your executing script will require access to the full ArcGIS installation. I'm pretty sure even attempting to circumvent this is in violation of your Esri EULA.


hello mzcoyle. I am confused with how arcpy make it possible for python to import GIS functions. You said that"most of the the arcpy modules are only the python interface into the geoprocessor .dlls". so, would you like to tell me the details of arcpy. I just want to make sure how it works between python and ArcGIS. THANK YOU.
0 Kudos