Category: Python

The new ScratchGDB and ScratchFolder environments


One of the enhancements to the 10.1 release was the addition of two new environment variables (scratchFolder and scratchGDB) as mentioned in the What’s New for Geoprocessing in 10.1. (If you haven’t read it, check out all enhancements!). While new … Continue reading

Posted in Analysis & Geoprocessing, Python | Tagged , , | Leave a comment

Multiprocessing with ArcGIS – Approaches and Considerations (Part 1)


The multiprocessing Python module provides functionality for distributing work between multiple processes on a given machine, taking advantage of multiple CPU cores and larger amounts of available system memory. When analyzing or working with large amounts of data in ArcGIS, … Continue reading

Posted in Analysis & Geoprocessing, Python | Tagged , | 9 Comments

A simple approach for including 3rd party Python libraries with your scripts


Often times, your Python scripts require 3rd party Python libraries. For example, the sample tools located here: requires xlrd, xlwt, and openpyxl Python libraries. This sample includes all of the dependent libraries, and demonstrates just how easy it is. … Continue reading

Posted in Python | Tagged | 9 Comments

Field mapping and Python scripting

Field Map in the Append (Managemnet) tool dialog

A number of geoprocessing tools including Spatial Join (Analysis), Append (Management), Merge (Management), Feature Class To Feature Class (Conversion), and Table To Table (Conversion), have a parameter for controlling how fields from the input dataset(s) are processed and written, or … Continue reading

Posted in Analysis & Geoprocessing, Python | Tagged , , | 23 Comments

Python Add-Ins – How to add built-in commands to your custom toolbar or menu


This blog shows how you can add existing built-in commands to your existing custom toolbar or menu. ArcGIS 10.1 introduced Python to the list of languages for creating desktop add-ins. To get started with Python add-ins or to learn more … Continue reading

Posted in Developer, Python | Tagged , | 9 Comments

ArcGIS 10.0 Service Pack 5

In an ongoing effort to improve the quality of ArcGIS, I’m happy to announce the release of ArcGIS 10.0 Service Pack 5

This Service Pack includes many fixes since the 10.0 release. Here is list of issues fixed in SP5. If you have any feedback or questions regarding this service pack, please post in the ArcGIS Resource Center Forums or contact Esri Support.

If you have additional enhancements or ideas that you would like to see included in future service packs or releases, please post them on the ArcGIS Ideas site.

Posted in 3D GIS, Analysis & Geoprocessing, Defense, Developer, Editing, Geodata, Imagery, Local Government, Python, Spatial Statistics | Tagged , , , , , , , , , | 15 Comments

Downloadable tools for ArcGIS Server administration

With the release of version 10.1, automating administrative tasks on ArcGIS Server got a whole lot easier. The new ArcGIS Server Administrator API allows you to perform the same administrative tasks you can do in ArcGIS Desktop or ArcGIS Server Manager. Because it’s a REST-ful API, you can programmatically build up URLs to make calls to the server to perform tasks.

Using this API, I’ve published a sample that puts server admin tasks into an ArcGIS toolbox and ModelBuilder. The ArcGIS Server Administration Toolkit (download), written with Python, provides a variety of tools that you can use to administer the server. For example, there are tools for starting and stopping services, modifying log settings, registering server object extensions (SOEs), and publishing services from service definition files. You can chain these tools together in ModelBuilder to complete a workflow, or you can run them in a one-off fashion directly from the toolbox.

Continue reading

Posted in Python, Services | Tagged , , | Leave a comment

Be successful overlaying large, complex datasets in Geoprocessing

Spatial datasets often have large numbers of features.  Furthermore, these datasets may also contain individual features such as road casings that are very large and complex.

As a result of such large datasets, massive amounts of feature overlap (number of features and complexity of the overlapping features) within feature classes can result in a geoprocessing tool failure or poor performance.  These failures are often due to system resources limitations, mismanagement of resources, “bad” data, or massive overlap in an area that cannot be processed within the available resources.  Failure messages such as “Invalid Topology [4GB_FILE_LIMIT] “, or “Out of memory” can occur.  In rare cases, an application crash is possible.

At 10.1, significant work has been done for managing the processing of large complex data.  We have removed internal limitations and overhauled our overlay engine’s memory management.  Some overlay processes that previously failed can now complete successfully, and with reasonable performance.  However, following these guidelines and best practices should ensure your large overlay processes complete successfully.

Continue reading

Posted in Analysis & Geoprocessing, Python | Tagged , , , , , , , | 6 Comments

ArcGIS 10.1 Available Soon

The ArcGIS 10.1 Pre-release program has come to a close, and the final release of ArcGIS 10.1 is expected to be available in the next few weeks. Thanks for all the great feedback during beta and pre-release. The 10.1 release has lots of new and exciting capabilities. For more information on ArcGIS 10.1 visit And for details on what’s new, check out this PDF that list all the new functionality.

Posted in 3D GIS, Analysis & Geoprocessing, ArcGIS Online, Community Maps, Defense, Developer, Editing, Geodata, Imagery, Local Government, Mobile, Python, Services, Spatial Statistics, Web | Tagged , | 5 Comments

It’s coming – 6/12/12!

New Resource Center Home page

This Resource Center is getting a facelift and a fresh new look. We’re updating the color and styling of the website, adding tutorials for you to try ArcGIS, improving the gallery and video experiences, and much more.

We’ve been testing the website improvements as part of ArcGIS 10.1 Beta and Prerelease and now, in conjunction with its release, we’re ready to share the website improvements with everyone.

Click here to preview what’s coming. Then, on the evening of 6/12/12, the improvements will be applied to this website: All your bookmarks and page share will continue to work; some pages will just look a little different, and there will be lots of great new content.

Continue reading

Posted in 3D GIS, Analysis & Geoprocessing, ArcGIS Online, Community Maps, Defense, Developer, Editing, Electric & Gas, Geodata, Hydro, Imagery, Local Government, Location Analytics, Mapping, Mobile, National Government, Public Safety, Python, Services, Spatial Statistics, State Government, Telecommunications, Transportation, Water Utilities, Web | Tagged , , , , , , | Leave a comment