Additional Python functionality in 10.2

855
2
Jump to solution
11-19-2013 11:07 PM
NidhinKarthikeyan
Occasional Contributor III
Hi,


I'm new to Python and about to start with ESRI's Data and Exercise DVD. The version used for exercise(Python Scripting for ArcGIS Data and Exercises) is ArcGIS for Desktop 10.1. I've ArcGIS for Desktop 10.2 installed on my machine.

-Is there any additional Python functionality introduced in 10.2. 
-Will the code(in Python Scripting for ArcGIS Data and Exercises 10.1) work if there is any additional Python functionality introduced in 10.2



Thanks,
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
NidhinKarthikeyan
Occasional Contributor III
The exercise document says:
In this example, the version of ArcGIS for Desktop is 10.1, which is the same version used for the exercises in this book. If you are using version 10.1 with a recent service pack, there should be no noticeable difference in how the Python code works. If you are using version 10.0, some of the Python code in the exercises will not work correctly because additional Python functionality has been introduced in 10.1.

If you are using ArcGIS for Desktop 9.3.1 or earlier, the code in the exercises will not work. The ArcPy site package was introduced in version 10.0, and this includes Python functionality that was not available in earlier versions.




Thanks John and Jake!



Hi Nidhin,

You will be fine to use ArcGIS 10.2 with the ArcGIS 10.1 tutorial. With the exception of a few new Geoprocessing Tools, nothing has changed much from 10.1 to 10.2 in regards to Python.

Jake



Thanks,

View solution in original post

0 Kudos
2 Replies
JohnDye
Occasional Contributor III
Since most geoprocessing tools are exposed through ESRI's Python Site Package, 'arcpy', there tends to be some new functionality with every release as a result of the integration of new geoprocessing tools. Sometimes there are new python methods to leverage, but in any case you can always figure it out pretty quickly by just looking at the most recent versions 'What's New' documentation in the Help Files.

For 10.2, the 'What's New' doc is located at http://resources.arcgis.com/en/help/main/10.2/index.html#//016w0000005s000000

As you can see, there are quite a few new geoprocessing tools which can be leveraged in Python and in addition, a few of python-specific functions have been added in 10.2 'CreateGeocodeSDDraft',  'CreateSQLiteDatabase', 'RasterToNumpyArray' and 'NumpyArrayToRaster' which you can see under the ArcPy section.

Take the time to peruse through the entire doc as everything new for arcpy is not included in the arcpy section. As is the case with new and improved geoprocessing tools.
0 Kudos
NidhinKarthikeyan
Occasional Contributor III
The exercise document says:
In this example, the version of ArcGIS for Desktop is 10.1, which is the same version used for the exercises in this book. If you are using version 10.1 with a recent service pack, there should be no noticeable difference in how the Python code works. If you are using version 10.0, some of the Python code in the exercises will not work correctly because additional Python functionality has been introduced in 10.1.

If you are using ArcGIS for Desktop 9.3.1 or earlier, the code in the exercises will not work. The ArcPy site package was introduced in version 10.0, and this includes Python functionality that was not available in earlier versions.




Thanks John and Jake!



Hi Nidhin,

You will be fine to use ArcGIS 10.2 with the ArcGIS 10.1 tutorial. With the exception of a few new Geoprocessing Tools, nothing has changed much from 10.1 to 10.2 in regards to Python.

Jake



Thanks,
0 Kudos