Automating GIS Tasks



Similar documents
Publishing Geoprocessing Services Tutorial

MANAGING OUTLOOK PERSONAL DATA FILES

University of Arkansas Libraries ArcGIS Desktop Tutorial. Section 4: Preparing Data for Analysis

Secrets of Event Viewer for Active Directory Security Auditing Lepide Software

Personal Geodatabase 101

Using Microsoft SyncToy to Automate Backups

Making the Most of Files & Folders. Schoolwires Centricity2

RS/GIS Quick Start Guides Collaborative training materials available from the Biodiversity Informatics & Geospatial Innovation Facilities

ArcGIS Server and Geodatabase Administration for 10.2

Quick Start User Guide

WinTask x64 Scheduler for Windows 7 64 bit, Windows 8/ bit and Windows 2008 R2 64 bit. Scheduler Quick Start Guide

Application Note No. 12

HADS 2.1.0e Installation and migration

E-Notebook SQL 12.0 Desktop Database Installation Guide. E-Notebook SQL 12.0 Desktop Database Installation Guide

Creating a File Geodatabase

Publishing geospatial data to the web using the EEA infrastructure

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

Converting GIS Datasets into CAD Format

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

Working with Office Applications and ProjectWise

Government 1009: Advanced Geographical Information Systems Workshop. LAB EXERCISE 3b: Network

Configuration for Professional Client Access

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

Downloading SSURGO Soil Data from Internet

To successfully initialize Microsoft Outlook (Outlook) the first time, settings need to be verified.

ArcGIS Business Analyst Premium* ~ Help Guide ~ Revised October 3, 2012

Outlook 2007: Managing your mailbox

Archiving - Outlook 2003

Assured PackOut Best Practices: Create a Back-Up

Protecting SQL Server Databases Software Pursuits, Inc.

eadvantage Certificate Enrollment Procedures

How To Install Database Oasis On A Computer Or Computer (For Free)

Technical Support Set-up Procedure

A Workflow for Creating and Sharing Maps

Installing Tri-Global Software

Microsoft Business Contact Manager Version 2.0 New to Product. Module 4: Importing and Exporting Data

Salesforce-Wrike Integration Setup Manual

Appendix E. Captioning Manager system requirements. Installing the Captioning Manager

ESRI China (Hong Kong) Limited

Virtual Office Remote Installation Guide

Government 1008: Introduction to Geographic Information Systems. LAB EXERCISE 4: Got Database?

Global Image Management System For epad-vision. User Manual Version 1.10

Cleaning out Outlook E mail

Editing Common Polygon Boundary in ArcGIS Desktop 9.x

BLM Personnel & REA Collaborator Access. Accessing REA Data, Maps, & Models through SharePoint

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

How To Use Outlook On A Virtual Desktop On A Pc Or Macbook

How To Set Up Dataprotect

How to use SURA in three simple steps:

REDUCING YOUR MICROSOFT OUTLOOK MAILBOX SIZE

Exercise 3: Building a GIS data library

Export Server Object Extension and Export Task Install guide. (V1.1) Author: Domenico Ciavarella ( )

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Network Analysis with Python. Deelesh Mandloi

Outlook Hosted Exchange Account Configuration

Working with Templates. Schoolwires Centricity2

Create and share a map with GIScloud.com

TestTrack Test Case Management Quick Start Guide

Cookbook for Importing Point Information into a Polygon Shapefile using ArcGIS9

Bucks PSN. Export & Import BLP Mail Mailbox to and from Outlook Data File (.pst) Version 1.0

ENABLE LOGON/LOGOFF AUDITING

Installing ArcGIS Desktop 10.0: Student Evaluation Setup Guide. June 2014

Configuring, Customizing, and Troubleshooting Outlook Express

Dial-up Installation for CWOPA Users (Windows Operating System)

How to Archive Items Manually (Outlook) How to Manually Archive Mail in Outlook [2014]

E-Notebook SQL13.0 Desktop Migration and Upgrade Guide

Office365 at Triton College

Installing Globodox Web Client on Windows Server 2012

Lab: Data Backup and Recovery in Windows XP

Introduction. There are several bits of information that must be moved:

Outlook Quick Steps & Rules

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Microsoft Outlook 2000 Configuration Creation of a SPAM Filter

This manual provides information and instructions for Mac SharePoint Users at Fermilab. Using Sharepoint from a Mac: Terminal Server Instructions

SonicWALL CDP Local Archiving

Installing LearningBay Enterprise Part 2

Spatial Analyst Tutorial

Installing Globodox Web Client on Windows 7 (64 bit)

MS Word Microsoft Outlook 2010 Mailbox Maintenance

Training Events Database (TED) Setup Guide

How To Use The Syndicate Bank Rsa Security Token For Internet Banking On Pc Or Mac Or Mac (For A Web Browser) For A Long Time (For An Ipad) For Free (For Free) For An Unlimited Time) For Your

e-dpp May 2013 Quick Installation Guide Microsoft Windows 2003 Server, XP, Vista, 7 Access Database

enter the administrator user name and password for that domain.

How to backup important data

Apple Mail Outlook Web Access (OWA) Logging In Changing Passwords Mobile Devices Blackberry...

Xythos on Demand Quick Start Guide For Xythos Drive

Mesa DMS. Once you access the Mesa Document Management link, you will see the following Mesa DMS - Microsoft Internet Explorer" window:

Rational Quality Manager. Quick Start Tutorial

Online Backup and Recovery Manager Setup for Microsoft Windows.

How to install and use the File Sharing Outlook Plugin

Gorilla CRM System Installation Instructions

NetWrix File Server Change Reporter. Quick Start Guide

Data Interoperability Extension Tutorial

Using an Automatic Back Up for Outlook 2003 and Outlook 2007 Personal Folders

Netop School and L230 or X550 from NComputing as student computers

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Lab - Data Backup and Recovery in Windows XP

Transcription:

Automating GIS Tasks (so you can play more golf) Presented by: C. Craig Cleveland, GISP Senior GIS Analyst Bergmann Associates

Presentation Agenda Reasons for automating tasks Define the components for automating tasks Review those components Create and configure an automation Run the automation

Where were you yesterday???

Where were you yesterday???

Here is where I was

Reasons for automating tasks Repetitive tasks to complete Need to complete tasks during off hours Need to perform tasks with long durations

Getting started First things first You don t need to be a software developer to automate GIS tasks!

Necessary components Task(s) to automate e.g. Nightly export to shapefile e.g. Weekly compact of a file geodatabase ArcGIS Desktop (license level does not matter!) ArcToolbox Model Builder Python Script Windows Scheduler

Step 1 Create a model It s EASY

Step 1 Create a model Models are created in Model Builder Model Builder is tightly integrated with ArcToolbox Must create a custom Toolbox to hold your model Models are saved within custom toolboxes (.tbx files) Right click inside ArcToolbox and choose New Toolbox Default location for custom toolboxes - C:\Documents and Settings\[User Name]\Application Data\ESRI\ArcToolbox\My Toolboxes (hint: Show Hidden Files and Folders )

Step 1 Creating a model continued If desired, you can create a Toolset within your custom Toolbox to hold your model Think of Toolsets as subfolders Helps to organize a Toolbox Create your model within your newly created Toolbox/Toolset Right click inside your new Toolbox/Toolset and choose New-Model

Step 1 Creating a model continued Finally begin creating your model Models are built by dragging and dropping system tools into Model Builder Double click model components to define input parameters This essentially hard codes inputs Use the Add Connection tool to connect model components if the model contains multiple tools/processes Save your model Rename your model

Step 1 Your model

At this point Your GIS task is partially automated, but you still have to push a button.

At this point That s too much work!!! Your GIS task is partially automated, but you still have to push a button.

At this point That s too much work!!! Your GIS task is partially automated, but you still have to push a button.

Before moving on If you want to use your model without 100% automation consider: Creating input parameters Cannot be in your model if you re going to use total automation Naming the model components Creating model help

Before moving on consider Creating input parameters Cannot be in your model if you re going to use total automation

Before moving on consider Naming the model components

Before moving on consider Naming the model components

Before moving on consider Creating model help

Step 2 Export model to a Python script To completely automate your GIS task you ll need to export it to a Python script Why Python??? Software to run the script comes with ArcGIS Desktop

Step 2 Export model to a Python script Things to remember before exporting your model to a script No model parameters Be cautious of the license level used to create the script

Step 3 Configure the Windows Scheduler Using the Windows Scheduler you can completely automate your GIS tasks

Step 3 Configure the Windows Scheduler The Windows Scheduler allows you to set tasks to run at regularly scheduled intervals easily Choose Add a Scheduled Task

Step 3 Configure the Windows Scheduler Begin stepping through the wizard to configure your schedule task Choose the application that will run your task (Python.exe)

Step 3 Configure the Windows Scheduler Begin stepping through the wizard to configure your schedule task Choose the application that will run your task (Python.exe)

Step 3 Configure the Windows Scheduler Continue stepping through the wizard to configure your schedule task Name your task Specify the schedule on which you d like your task to run Define the user that runs the task At the last step check the box Open advanced properties for this task when I click Finish

Step 3 Configure the Windows Scheduler You need to open the advanced properties to specify which script the Python application needs to run your script!

Step 4 Test the Scheduled Task Open the Scheduled Tasks dialog, right click on your task and choose run Using this process your task can be run at any time

Step 4 Test the Scheduled Task Did the task run successfully??? View the Scheduled Tasks log You want to see an Exit code of (0).

Step 5 Go Golfing you re done!

Questions??? C. Craig Cleveland, GISP Bergmann Associates (585) 232-5135 ccleveland@bergmannpc.com