Tag Archives: python

Heard of Conda? Wondering how it relates to using Python in ArcGIS Pro (version 1.3)?

apro1-3After installing ArcGIS Pro 1.3, you may notice a few changes. The scope of this blog will detail Conda – what it is? why this change occurred? and how conda has affected the usage of ArcGIS Desktop functionality when used by ArcGIS Pro? – specifically as at version 1.3 (and later releases).

For those reading, I am assuming your understanding of python is that when used in both ArcGIS 10.x and ArcGIS Pro, this is the primary language to automate, configure and consume your GIS ecosystem. One of the cornerstones within each ecosystem is knowing Continue reading

Ever wondered what layers reside in all my MXD’s? Is there a way to summarize each layers’ properties?

Here’s one way forward utilizing ArcGIS for Desktop and Python….

Working at Esri Australia in the Support and Training realm, we listen to numerous client’s requests, concerns and workflow issues. To keep abreast of how our technology is heading, one source I frequent is Continue reading

Automating Workflows

Directions LIVE

Whilst some people may enjoy the security of knowing that they have done something before and can therefore do it again, others find this work boring and unchallenging. Perhaps you have a repetitive task that is part of your work day routine, something you have done so many times you can allow your mind to wander and focus on more important things like what you’re having for dinner. Personally I dislike repetitive tasks about as much as repetitive music.

So in the interest of working smarter … I will be presenting a Tips & Tricks session at the Sydney Directions 2015 showing users how to automate workflows using ArcGIS Desktop Model Builder. For those who have not used Model Builder before you will see both how easy it can be to graphically create a model to automate your ArcGIS business processes, as well as how powerful using a model can be.

Continue reading

Ozri 2014

Python across the platform: an insider’s guide to the top Python libraries

Solving real-world problems with existing solutions

With so many great presentations at Ozri it’s hard to choose which one to go to. In case you missed our session, here are the key messages.

Python is a “batteries included” language. The Python Standard Library (which you get when installing Python) has nearly 300 packages which help you get the job done. The modules vary in functionality, ranging from running code in parallel with the multiprocessing library to making your terminal beep with winsound.

Continue reading

Ozri 2014

Python Map Automation: beyond the basics of arcpy.mapping

Easy improvements to your Python experience

This morning Stoyan and I shared our knowledge of Esri’s ArcPy mapping module, as well as some other handy Python tips and tricks in our three-hour workshop: Python Map Automation – Beyond the Basics of ArcPy Mapping.

During this workshop we covered everything from how to manipulate layers within a map document to using time aware layers, printing multi-page PDF documents and publishing GP services to ArcGIS for Server. We also explained how it is possible to use any geoprocessing tools within a Python script.

If you would like to have a go, the course material has been made available online for everyone.

Haydn D

Wondering how to use Python with ArcGIS? Esri Australia have courses that can help

Learning how to complete your ArcGIS Geoprocessing steps using Python will allow you to reduce the time spent on complex and/or repetitive tasks and will enable your staff to learn a more productive and dynamic pathway to return results.

So the question is; which course is for you?

The Introduction to Geoprocessing Scripts Using Python (10.2) course will teach you how to create Python scripts to automate tasks related to data management, feature editing, geoprocessing and analysis, and map production using ArcGIS. You will also learn how to share your Python scripts so your key GIS workflows are accessible to others. This course is designed for GIS analysts, specialists, data processors, and others who want to automate ArcGIS tasks and workflows.

After completing this course, you will be able to: Continue reading

Error handling with Python – writing messages out to a text file (log file)

Debugging geoprocessing scripts in Python is never easy, especially when these scripts are run as a scheduled task.
I’ve had a number of requests of how to debug a scheduled python script (especially when issues occur), and write the output to a text file.

Please find below a simple python script that I hope will help others to debug their scripts: Continue reading