Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The geoprocessor programming model was an excellent tool for python scripting using ArcGIS 9.3. There is still no equivalent diagram for ArcGIS 10 - although there is a request on the ArcGIS ideas site.

Does ArcGIS 10 have a Geoprocessor Programming Model by using Arcpy? asked if the 9.3 diagram is good to use for ArcGIS 10. The answer was that some of it is relevant and it is best not to use it. However, I really like the diagram and would like to reference it when scripting ArcGIS 10. Therefore my specific question is:

What parts of the ArcGIS 9.3 diagram are not relevant to ArcGIS 10? Correct me if I'm wrong, but from what I understand, if an equivalent diagram was made for ArcGIS 10, there would be new functions added to the diagram; the diagram would only get bigger.

share|improve this question
up vote 4 down vote accepted

The main differences between arcgisscripting and arcpy, are instantiation and a more rigid adherence to a naming convention, i.e. [tool_name]_[category](*args, **kwargs)

Apart from that the answer from Dan Patterson is correct, you'll have to look at each tool to determine if the functionality or parameters have changed for each tool.

ArcPy is an elaborate stub for COM objects. Using a COM library from python has the added overhead of translating python data types to c/c++ data types. And often requires some complex conversions. Being aware of this, and having an understanding of COM will help you squeeze performance out of your scripts where necessary.

share|improve this answer

You will have to compare specific differences between version 10 and version 9.3 on the online help files. Creating the geoprocessor is different, however, you can invoke 9.3 functionality within the arcpy module by importing arcgisscripting from within arcpy. This maintain some backward compatability issues, but you will need to compare each geoprocessing tool to determine what, if any, changes have been made.

share|improve this answer

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.