SlideShare a Scribd company logo
Python &  Drive Time Analyses Python 2.6 ArcCatalog 9.3.1 ArcMap 9.3.1 Project technologies Programming language: Software products: Janice Poehlman Division of Forestry, Dept. Natural Resources [email_address]
Use python scripts to summarize the total number of people who are within drive times of a location. 30 Minute 60 Minute 90 Minute 120 Minute Drive Time Service Area Network Analyst }
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
 
 
 
 
 
 
 
 
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is a cursor and how does it work.
What is a cursor and how does it work.
What is a cursor and how does it work.
What is a cursor and how does it work.
What is a cursor and how does it work.
[object Object],[object Object],[object Object],[object Object],[object Object]
What the python script does inside the cursor with one record: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What the python script does inside the cursor with one record: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
After the cursor is used for geoprocessing every record, the individual feature classes containing block groups for each service area are merged together using a value table.  gp.merge_management  vTab = gp.createobject("ValueTable”) fcList = gp.listfeatureclasses("xxclipSEWNN*”) fc = fcList.Next() while fc: fcpath = gp.workspace + "" + fc vTab.Addrow(fcpath) fc = fcList.Next() gp.merge_management(vTab, "AMergedDriveTime120MinutesSEWNN", "”) print "Completed merged file for features of %s" %(servicearea) timestamp = time.strftime('%I:%M:%S %p', time.localtime()) log.write('Finishing time is ' + timestamp) print"Done.” del vTab del fc del fcpath del servicearea del timestamp log.close()
 
 
A  supply and demand  analysis of location to people.  ,[object Object],[object Object],Voila !
Thank you for your attention.

More Related Content

What's hot

GeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
GeoTuple a Framework for Web Based Geo-Analytics with R and PostGISGeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
GeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
Roland Hansson
 
150970116028 2140705
150970116028 2140705150970116028 2140705
150970116028 2140705
Manoj Shahu
 
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
Big Data Spain
 
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
pgdayrussia
 
Heap
HeapHeap
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GISR Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
Dr. Volkan OBAN
 
From Trill to Quill: Pushing the Envelope of Functionality and Scale
From Trill to Quill: Pushing the Envelope of Functionality and ScaleFrom Trill to Quill: Pushing the Envelope of Functionality and Scale
From Trill to Quill: Pushing the Envelope of Functionality and Scale
Badrish Chandramouli
 
確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward
Yuta Kashino
 
Ragel talk
Ragel talkRagel talk
Ragel talk
elliando dias
 
Using PyPy instead of Python for speed
Using PyPy instead of Python for speedUsing PyPy instead of Python for speed
Using PyPy instead of Python for speed
Enplore AB
 
Network Analysis with networkX : Real-World Example-2
Network Analysis with networkX : Real-World Example-2Network Analysis with networkX : Real-World Example-2
Network Analysis with networkX : Real-World Example-2
Kyunghoon Kim
 
Building a real time Tweet map with Flink in six weeks
Building a real time Tweet map with Flink in six weeksBuilding a real time Tweet map with Flink in six weeks
Building a real time Tweet map with Flink in six weeks
Matthias Kricke
 
Megadata With Python and Hadoop
Megadata With Python and HadoopMegadata With Python and Hadoop
Megadata With Python and Hadoop
ryancox
 
Hight Work
Hight WorkHight Work
Hight Work
Nutron
 
Map Analytics in Starcraft II
Map Analytics in Starcraft IIMap Analytics in Starcraft II
Map Analytics in Starcraft II
gy8
 
Resource management
Resource managementResource management
Resource management
Ahmed Gamal
 
Python en la Plataforma ArcGIS
Python en la Plataforma ArcGISPython en la Plataforma ArcGIS
Python en la Plataforma ArcGIS
Xander Bakker
 
Schema Design by Chad Tindel, Solution Architect, 10gen
Schema Design  by Chad Tindel, Solution Architect, 10genSchema Design  by Chad Tindel, Solution Architect, 10gen
Schema Design by Chad Tindel, Solution Architect, 10gen
MongoDB
 
Building maps for apps in the cloud - a Softlayer Use Case
Building maps for  apps in the cloud - a Softlayer Use CaseBuilding maps for  apps in the cloud - a Softlayer Use Case
Building maps for apps in the cloud - a Softlayer Use Case
Timan Rebel
 

What's hot (19)

GeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
GeoTuple a Framework for Web Based Geo-Analytics with R and PostGISGeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
GeoTuple a Framework for Web Based Geo-Analytics with R and PostGIS
 
150970116028 2140705
150970116028 2140705150970116028 2140705
150970116028 2140705
 
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
Apache flink: data streaming as a basis for all analytics by Kostas Tzoumas a...
 
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
 
Heap
HeapHeap
Heap
 
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GISR Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
 
From Trill to Quill: Pushing the Envelope of Functionality and Scale
From Trill to Quill: Pushing the Envelope of Functionality and ScaleFrom Trill to Quill: Pushing the Envelope of Functionality and Scale
From Trill to Quill: Pushing the Envelope of Functionality and Scale
 
確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward
 
Ragel talk
Ragel talkRagel talk
Ragel talk
 
Using PyPy instead of Python for speed
Using PyPy instead of Python for speedUsing PyPy instead of Python for speed
Using PyPy instead of Python for speed
 
Network Analysis with networkX : Real-World Example-2
Network Analysis with networkX : Real-World Example-2Network Analysis with networkX : Real-World Example-2
Network Analysis with networkX : Real-World Example-2
 
Building a real time Tweet map with Flink in six weeks
Building a real time Tweet map with Flink in six weeksBuilding a real time Tweet map with Flink in six weeks
Building a real time Tweet map with Flink in six weeks
 
Megadata With Python and Hadoop
Megadata With Python and HadoopMegadata With Python and Hadoop
Megadata With Python and Hadoop
 
Hight Work
Hight WorkHight Work
Hight Work
 
Map Analytics in Starcraft II
Map Analytics in Starcraft IIMap Analytics in Starcraft II
Map Analytics in Starcraft II
 
Resource management
Resource managementResource management
Resource management
 
Python en la Plataforma ArcGIS
Python en la Plataforma ArcGISPython en la Plataforma ArcGIS
Python en la Plataforma ArcGIS
 
Schema Design by Chad Tindel, Solution Architect, 10gen
Schema Design  by Chad Tindel, Solution Architect, 10genSchema Design  by Chad Tindel, Solution Architect, 10gen
Schema Design by Chad Tindel, Solution Architect, 10gen
 
Building maps for apps in the cloud - a Softlayer Use Case
Building maps for  apps in the cloud - a Softlayer Use CaseBuilding maps for  apps in the cloud - a Softlayer Use Case
Building maps for apps in the cloud - a Softlayer Use Case
 

Similar to Python Coding Examples for Drive Time Analysis

Odp
OdpOdp
Profiling in Python
Profiling in PythonProfiling in Python
Profiling in Python
Fabian Pedregosa
 
20181212 - PGconfASIA - LT - English
20181212 - PGconfASIA - LT - English20181212 - PGconfASIA - LT - English
20181212 - PGconfASIA - LT - English
Kohei KaiGai
 
r,rstats,r language,r packages
r,rstats,r language,r packagesr,rstats,r language,r packages
r,rstats,r language,r packages
Ajay Ohri
 
Wprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
Wprowadzenie do technologii Big Data / Intro to Big Data EcosystemWprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
Wprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
Sages
 
Wprowadzenie do technologi Big Data i Apache Hadoop
Wprowadzenie do technologi Big Data i Apache HadoopWprowadzenie do technologi Big Data i Apache Hadoop
Wprowadzenie do technologi Big Data i Apache Hadoop
Sages
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Command Prompt., Inc
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Mark Wong
 
Assessing Graph Solutions for Apache Spark
Assessing Graph Solutions for Apache SparkAssessing Graph Solutions for Apache Spark
Assessing Graph Solutions for Apache Spark
Databricks
 
Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨
flyinweb
 
Relational Database Access with Python ‘sans’ ORM
Relational Database Access with Python ‘sans’ ORM  Relational Database Access with Python ‘sans’ ORM
Relational Database Access with Python ‘sans’ ORM
Mark Rees
 
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & PinbaPHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
Patrick Allaert
 
Beyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic AnalysisBeyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic Analysis
Fastly
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Mark Wong
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
Command Prompt., Inc
 
計算機性能の限界点とその考え方
計算機性能の限界点とその考え方計算機性能の限界点とその考え方
計算機性能の限界点とその考え方
Naoto MATSUMOTO
 
Explain this!
Explain this!Explain this!
Explain this!
Fabio Telles Rodriguez
 
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak   CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
PROIDEA
 
Dynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web siteDynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web site
Sriram Natarajan
 
Relational Database Access with Python
Relational Database Access with PythonRelational Database Access with Python
Relational Database Access with Python
Mark Rees
 

Similar to Python Coding Examples for Drive Time Analysis (20)

Odp
OdpOdp
Odp
 
Profiling in Python
Profiling in PythonProfiling in Python
Profiling in Python
 
20181212 - PGconfASIA - LT - English
20181212 - PGconfASIA - LT - English20181212 - PGconfASIA - LT - English
20181212 - PGconfASIA - LT - English
 
r,rstats,r language,r packages
r,rstats,r language,r packagesr,rstats,r language,r packages
r,rstats,r language,r packages
 
Wprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
Wprowadzenie do technologii Big Data / Intro to Big Data EcosystemWprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
Wprowadzenie do technologii Big Data / Intro to Big Data Ecosystem
 
Wprowadzenie do technologi Big Data i Apache Hadoop
Wprowadzenie do technologi Big Data i Apache HadoopWprowadzenie do technologi Big Data i Apache Hadoop
Wprowadzenie do technologi Big Data i Apache Hadoop
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
Assessing Graph Solutions for Apache Spark
Assessing Graph Solutions for Apache SparkAssessing Graph Solutions for Apache Spark
Assessing Graph Solutions for Apache Spark
 
Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨Nodejs性能分析优化和分布式设计探讨
Nodejs性能分析优化和分布式设计探讨
 
Relational Database Access with Python ‘sans’ ORM
Relational Database Access with Python ‘sans’ ORM  Relational Database Access with Python ‘sans’ ORM
Relational Database Access with Python ‘sans’ ORM
 
PHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & PinbaPHP applications/environments monitoring: APM & Pinba
PHP applications/environments monitoring: APM & Pinba
 
Beyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic AnalysisBeyond Breakpoints: A Tour of Dynamic Analysis
Beyond Breakpoints: A Tour of Dynamic Analysis
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
計算機性能の限界点とその考え方
計算機性能の限界点とその考え方計算機性能の限界点とその考え方
計算機性能の限界点とその考え方
 
Explain this!
Explain this!Explain this!
Explain this!
 
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak   CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
CONFidence 2015: DTrace + OSX = Fun - Andrzej Dyjak
 
Dynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web siteDynamic Tracing of your AMP web site
Dynamic Tracing of your AMP web site
 
Relational Database Access with Python
Relational Database Access with PythonRelational Database Access with Python
Relational Database Access with Python
 

More from Wisconsin Land Information Association

Airphoto anomilies
Airphoto anomiliesAirphoto anomilies
A wikimap of landscape values in the bad river watershed carl sack
A wikimap of landscape values in the bad river watershed   carl sackA wikimap of landscape values in the bad river watershed   carl sack
A wikimap of landscape values in the bad river watershed carl sack
Wisconsin Land Information Association
 
Workshop using open source software for mobile data collection workshop - a...
Workshop   using open source software for mobile data collection workshop - a...Workshop   using open source software for mobile data collection workshop - a...
Workshop using open source software for mobile data collection workshop - a...
Wisconsin Land Information Association
 
Wigicc's role in wisconsin jon schwitchtenberg
Wigicc's role in wisconsin   jon schwitchtenbergWigicc's role in wisconsin   jon schwitchtenberg
Wigicc's role in wisconsin jon schwitchtenberg
Wisconsin Land Information Association
 
Wi 590 nutrient management web application lisa morrison
Wi 590 nutrient management web application   lisa morrisonWi 590 nutrient management web application   lisa morrison
Wi 590 nutrient management web application lisa morrison
Wisconsin Land Information Association
 
Surveying and land records management dean roth
Surveying and land records management   dean rothSurveying and land records management   dean roth
Surveying and land records management dean roth
Wisconsin Land Information Association
 
Mapping spatial patterns of whai finder usage to measure community outreach e...
Mapping spatial patterns of whai finder usage to measure community outreach e...Mapping spatial patterns of whai finder usage to measure community outreach e...
Mapping spatial patterns of whai finder usage to measure community outreach e...
Wisconsin Land Information Association
 
Local gis in the statewide voter registration system sarah whitt
Local gis in the statewide voter registration system   sarah whittLocal gis in the statewide voter registration system   sarah whitt
Local gis in the statewide voter registration system sarah whitt
Wisconsin Land Information Association
 
Li dar quality control a client's perspective - tyler grosshuesch
Li dar quality control   a client's perspective - tyler grosshueschLi dar quality control   a client's perspective - tyler grosshuesch
Li dar quality control a client's perspective - tyler grosshuesch
Wisconsin Land Information Association
 
Li dar meets wisconsinview jc nelson
Li dar meets wisconsinview   jc nelsonLi dar meets wisconsinview   jc nelson
Li dar meets wisconsinview jc nelson
Wisconsin Land Information Association
 
Lakesheds and riverscapes extending wisconsin's hydro database with landsca...
Lakesheds and riverscapes   extending wisconsin's hydro database with landsca...Lakesheds and riverscapes   extending wisconsin's hydro database with landsca...
Lakesheds and riverscapes extending wisconsin's hydro database with landsca...
Wisconsin Land Information Association
 
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
Wisconsin Land Information Association
 
Integrative mapping strategies jeremy bixby
Integrative mapping strategies   jeremy bixbyIntegrative mapping strategies   jeremy bixby
Integrative mapping strategies jeremy bixby
Wisconsin Land Information Association
 
Integrating sanitary televising data with utility gis data within the city of...
Integrating sanitary televising data with utility gis data within the city of...Integrating sanitary televising data with utility gis data within the city of...
Integrating sanitary televising data with utility gis data within the city of...
Wisconsin Land Information Association
 
Integrating high accuracy gps with esri's arc gis for windows mobile field so...
Integrating high accuracy gps with esri's arc gis for windows mobile field so...Integrating high accuracy gps with esri's arc gis for windows mobile field so...
Integrating high accuracy gps with esri's arc gis for windows mobile field so...
Wisconsin Land Information Association
 
Implementing arc gis 10.1 for the wisconsin dnr nhi portal levi felling
Implementing arc gis 10.1 for the wisconsin dnr nhi portal   levi fellingImplementing arc gis 10.1 for the wisconsin dnr nhi portal   levi felling
Implementing arc gis 10.1 for the wisconsin dnr nhi portal levi felling
Wisconsin Land Information Association
 
Gis in parks and recreation the proragis website - trish nau
Gis in parks and recreation   the proragis website - trish nauGis in parks and recreation   the proragis website - trish nau
Gis in parks and recreation the proragis website - trish nau
Wisconsin Land Information Association
 
Geo moose project update brian fischer
Geo moose project update   brian fischerGeo moose project update   brian fischer
Geo moose project update brian fischer
Wisconsin Land Information Association
 
Elevation hydrology tools kent pena
Elevation hydrology tools   kent penaElevation hydrology tools   kent pena
Elevation hydrology tools kent pena
Wisconsin Land Information Association
 
Developing mobile apps pick your poison - levi felling
Developing mobile apps   pick your poison - levi fellingDeveloping mobile apps   pick your poison - levi felling
Developing mobile apps pick your poison - levi felling
Wisconsin Land Information Association
 

More from Wisconsin Land Information Association (20)

Airphoto anomilies
Airphoto anomiliesAirphoto anomilies
Airphoto anomilies
 
A wikimap of landscape values in the bad river watershed carl sack
A wikimap of landscape values in the bad river watershed   carl sackA wikimap of landscape values in the bad river watershed   carl sack
A wikimap of landscape values in the bad river watershed carl sack
 
Workshop using open source software for mobile data collection workshop - a...
Workshop   using open source software for mobile data collection workshop - a...Workshop   using open source software for mobile data collection workshop - a...
Workshop using open source software for mobile data collection workshop - a...
 
Wigicc's role in wisconsin jon schwitchtenberg
Wigicc's role in wisconsin   jon schwitchtenbergWigicc's role in wisconsin   jon schwitchtenberg
Wigicc's role in wisconsin jon schwitchtenberg
 
Wi 590 nutrient management web application lisa morrison
Wi 590 nutrient management web application   lisa morrisonWi 590 nutrient management web application   lisa morrison
Wi 590 nutrient management web application lisa morrison
 
Surveying and land records management dean roth
Surveying and land records management   dean rothSurveying and land records management   dean roth
Surveying and land records management dean roth
 
Mapping spatial patterns of whai finder usage to measure community outreach e...
Mapping spatial patterns of whai finder usage to measure community outreach e...Mapping spatial patterns of whai finder usage to measure community outreach e...
Mapping spatial patterns of whai finder usage to measure community outreach e...
 
Local gis in the statewide voter registration system sarah whitt
Local gis in the statewide voter registration system   sarah whittLocal gis in the statewide voter registration system   sarah whitt
Local gis in the statewide voter registration system sarah whitt
 
Li dar quality control a client's perspective - tyler grosshuesch
Li dar quality control   a client's perspective - tyler grosshueschLi dar quality control   a client's perspective - tyler grosshuesch
Li dar quality control a client's perspective - tyler grosshuesch
 
Li dar meets wisconsinview jc nelson
Li dar meets wisconsinview   jc nelsonLi dar meets wisconsinview   jc nelson
Li dar meets wisconsinview jc nelson
 
Lakesheds and riverscapes extending wisconsin's hydro database with landsca...
Lakesheds and riverscapes   extending wisconsin's hydro database with landsca...Lakesheds and riverscapes   extending wisconsin's hydro database with landsca...
Lakesheds and riverscapes extending wisconsin's hydro database with landsca...
 
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
Lake habitat mapping with side scan sonar in nine wisconsin lakes - christine...
 
Integrative mapping strategies jeremy bixby
Integrative mapping strategies   jeremy bixbyIntegrative mapping strategies   jeremy bixby
Integrative mapping strategies jeremy bixby
 
Integrating sanitary televising data with utility gis data within the city of...
Integrating sanitary televising data with utility gis data within the city of...Integrating sanitary televising data with utility gis data within the city of...
Integrating sanitary televising data with utility gis data within the city of...
 
Integrating high accuracy gps with esri's arc gis for windows mobile field so...
Integrating high accuracy gps with esri's arc gis for windows mobile field so...Integrating high accuracy gps with esri's arc gis for windows mobile field so...
Integrating high accuracy gps with esri's arc gis for windows mobile field so...
 
Implementing arc gis 10.1 for the wisconsin dnr nhi portal levi felling
Implementing arc gis 10.1 for the wisconsin dnr nhi portal   levi fellingImplementing arc gis 10.1 for the wisconsin dnr nhi portal   levi felling
Implementing arc gis 10.1 for the wisconsin dnr nhi portal levi felling
 
Gis in parks and recreation the proragis website - trish nau
Gis in parks and recreation   the proragis website - trish nauGis in parks and recreation   the proragis website - trish nau
Gis in parks and recreation the proragis website - trish nau
 
Geo moose project update brian fischer
Geo moose project update   brian fischerGeo moose project update   brian fischer
Geo moose project update brian fischer
 
Elevation hydrology tools kent pena
Elevation hydrology tools   kent penaElevation hydrology tools   kent pena
Elevation hydrology tools kent pena
 
Developing mobile apps pick your poison - levi felling
Developing mobile apps   pick your poison - levi fellingDeveloping mobile apps   pick your poison - levi felling
Developing mobile apps pick your poison - levi felling
 

Recently uploaded

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 

Recently uploaded (20)

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 

Python Coding Examples for Drive Time Analysis

  • 1. Python & Drive Time Analyses Python 2.6 ArcCatalog 9.3.1 ArcMap 9.3.1 Project technologies Programming language: Software products: Janice Poehlman Division of Forestry, Dept. Natural Resources [email_address]
  • 2. Use python scripts to summarize the total number of people who are within drive times of a location. 30 Minute 60 Minute 90 Minute 120 Minute Drive Time Service Area Network Analyst }
  • 3.
  • 4.  
  • 5.  
  • 6.  
  • 7.  
  • 8.  
  • 9.  
  • 10.  
  • 11.  
  • 12.  
  • 13.  
  • 14.  
  • 15.
  • 16. What is a cursor and how does it work.
  • 17. What is a cursor and how does it work.
  • 18. What is a cursor and how does it work.
  • 19. What is a cursor and how does it work.
  • 20. What is a cursor and how does it work.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. After the cursor is used for geoprocessing every record, the individual feature classes containing block groups for each service area are merged together using a value table. gp.merge_management vTab = gp.createobject("ValueTable”) fcList = gp.listfeatureclasses("xxclipSEWNN*”) fc = fcList.Next() while fc: fcpath = gp.workspace + "" + fc vTab.Addrow(fcpath) fc = fcList.Next() gp.merge_management(vTab, "AMergedDriveTime120MinutesSEWNN", "”) print "Completed merged file for features of %s" %(servicearea) timestamp = time.strftime('%I:%M:%S %p', time.localtime()) log.write('Finishing time is ' + timestamp) print"Done.” del vTab del fc del fcpath del servicearea del timestamp log.close()
  • 27.  
  • 28.  
  • 29.
  • 30. Thank you for your attention.