Wednesday, March 31, 2010

Progress Report 4/2

-Installed PythonWin (along with python 2.6.5)

-Installed Repast 3/ Agent Analyst. There are still a few problems with it though--the jar executable won't run, and the batch file needed to add a toolbox into arcMap (agent_analyst.bat) generates a 'path not found' error. Not sure if this is due to installation issues, or incompatibility with the our version of ArcGIS (Most current version for Repast/AA is 9.2, we're running version 9.3)


Notes to self:
-So right now I have PythonWin running, and it is able to import arcgisscripting. I tried creating a geoprocessing object, gp = arcgisscripting.create(9.2), which works fine as well. Now I just need to figure out how to link these PythonWin and ArcMap together (shouldn't be hard...), and demo data to practice with.

Helpful Links:

Course-worth's of material:
http://www.gis.usu.edu/~jlowry/python/

http://blogs.esri.com/Support/blogs/esritrainingmatters/archive/2009/09/10/want-to-create-python-scripts-try-the-f-c-p-m-t-method.aspx

-Python ArcObjects
http://www.pierssen.com/arcgis/misc.htm
http://www.pierssen.com/arcgis/upload/misc/python_arcobjects.pdf

-Agent Analyst
http://www.institute.redlands.edu/AgentAnalyst/
Latest version of this supports ArcGIS 9.2, we have 9.3 so there might be compatibility issues.

-Repast
http://www.institute.redlands.edu/AgentAnalyst/repast.aspx

-PythonWin (for scripting in ArcGIS)
Download: http://sourceforge.net/projects/pywin32/
"Getting Started with Writing Geoprocessing Scripts"
"Installing PythonWin"

-Python 2.6.5
Download: http://www.python.org/download/releases/2.6.5/
Needed for PythonWin


No comments:

Post a Comment