Using Python with ArcGIS. Purpose Evacuations sometimes necessary Flooding, chemical spill, fire ...

Post on 04-Jan-2016

214 views 0 download

Transcript of Using Python with ArcGIS. Purpose Evacuations sometimes necessary Flooding, chemical spill, fire ...

EVACUATION PLANNING OF EAU CLAIRE COUNTY

Using Python with ArcGIS

Purpose

Evacuations sometimes necessary Flooding, chemical spill, fire

Zone populations, shelter capacities vary

Shelter selection not always obvious Hazards on roads change routes

Process

Environment Data Road Network, Shelter Data, Zone Data,

Incident Coverage, Etc. Drive times

Drive time from each zone center to each shelter

Simplex Method Route Information

Previously started by Brian Troy

Environment

Before (Buffer)

Before (Zones)

Before (Shelters)

Before (Then what?)

Results: a specialized OD Cost Matrix with routes (Eventually!)

Sent into separate program to determine best shelter usage (Simplex)

Program - Concept

Python Script

Input Parameters

Output Routes

Program - Interface

Program – Code Samples

Program – Code Samples Problem: OD Cost Matrix Format

Name = Source - Destination

Program – Results

Program – Results

Once generated, easy to use for other purposes

Program – Results

So, what’s the difference? No data preparation Previous model took 5-25-??? minutes to

run Current program takes 30-60 seconds to

do the same thing Data Accessibility/Flexibility