using python with arcgis. purpose evacuations sometimes necessary flooding, chemical spill, fire ...

15
EVACUATION PLANNING OF EAU CLAIRE COUNTY Using Python with ArcGIS

Upload: byron-joseph

Post on 04-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

EVACUATION PLANNING OF EAU CLAIRE COUNTY

Using Python with ArcGIS

Page 2: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Purpose

Evacuations sometimes necessary Flooding, chemical spill, fire

Zone populations, shelter capacities vary

Shelter selection not always obvious Hazards on roads change routes

Page 3: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

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

Page 4: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Environment

Page 5: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Before (Buffer)

Page 6: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Before (Zones)

Page 7: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Before (Shelters)

Page 8: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Before (Then what?)

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

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

Page 9: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program - Concept

Python Script

Input Parameters

Output Routes

Page 10: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program - Interface

Page 11: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program – Code Samples

Page 12: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program – Code Samples Problem: OD Cost Matrix Format

Name = Source - Destination

Page 13: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program – Results

Page 14: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

Program – Results

Once generated, easy to use for other purposes

Page 15: Using Python with ArcGIS. Purpose  Evacuations sometimes necessary  Flooding, chemical spill, fire  Zone populations, shelter capacities vary  Shelter

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