Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater ...

22
Network Analysis with Python Deelesh Mandloi

Transcript of Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater ...

Page 1: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analysis with PythonDeelesh Mandloi

Page 2: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Slides and code samples from this demo theater

http://esriurl.com/uc15nawpy

Network Analysis with Python

Page 3: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Topics

Network Analysis with Python

Page 4: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

ArcGIS Network AnalystSolving transportation problems

RouteRoute Closest FacilityClosest Facility Service AreaService Area

Vehicle RoutingProblem

Vehicle RoutingProblemLocation-AllocationLocation-Allocation Origin-Destination

Cost MatrixOrigin-Destination

Cost Matrix

Network Analysis with Python

Page 5: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analysis using ArcGIS Online services

Network Analysis with Python

ArcGIS Online

Page 6: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Using Online services from Python

Network Analysis with Python

Page 7: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Esri UC 2015 | Technical Workshop |

Find 2, 4, 6 minutes travel time areas around stores using driving time and walking time travel modes

Service Areas using ArcGIS Online

Demo

Network Analysis with Python

Page 8: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analysis using ArcGIS Desktop

Network Analysis with Python

Page 9: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Dataset

Network Analysis with Python

TransportationNetwork

TransportationNetwork

Network DatasetNetwork Dataset

Data ModelData Model

GeodatabaseGeodatabaseShapefileStreetMapShapefileStreetMap

Page 10: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Where do you get street data?

Network Analysis with Python

Page 11: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analysis Layer

Network Analysis with Python

Page 12: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

What is the Network Analyst Module?• Simplify access to Network Analyst functionality from Python

Network Analysis with Python

arcpy.Describe

arcpy.naarcpy.na

Page 13: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analyst Module

Network Analysis with Python

Page 14: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Network Analysis Workflow

1. Make or Edit Network Analysis Layer

2. Add locations to one or more Network Analysis Classes

3. Solve

4. Use the results

Network Analysis with Python

Python

Page 15: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Editing Network Analysis Layer Properties

• Edit analysis layers using functions and classes in arcpy.na module

• Common Steps1. Get reference to a network analysis layer object

2. Get the solver properties object

3. Update the properties

Network Analysis with Python

Page 16: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Using Network Analyst GP tools from Python

• Helper classes for complex parameter types- Easily specify field mappings in Add Locations tool by using

arcpy.na.NAClassFieldMappings

• Write scripts that work across ArcGIS language versions- Avoid using localized strings in scripts such as sublayer names by using

arcpy.na.GetNAClassNames

Network Analysis with Python

Page 17: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

ArcGIS Desktop and ArcGIS Pro differences in arcpy.na

Network Analysis with Python

Page 18: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Esri UC 2015 | Technical Workshop |

Find 2, 4, 6 minutes travel time areas around stores using driving time and walking time travel modes

Service Areas using ArcGIS Desktop

Demo

Network Analysis with Python

Page 19: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Resources

Network Analysis with Python

Page 20: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Esri UC 2014 | Technical Workshop |

Network Analyst presentations

Tuesday Wednesday Thursday8:30 am

Network Analyst: An Introduction9 am

Routing in Buildings with 3D Networks in ArcGIS Pro

10 am

Network Analyst: Automating Workflows with Geoprocessing

Network Analyst: An IntroductionNetwork Analysis with Python

11 am

Using Navigator for ArcGIS Using GTFS Public Transit Data in ArcGIS

12 pm Network Analyst: Network Analysis with ArcGIS Online

1 pm

Network Analyst: Creating Network Datasets

Network Analyst: Automating Workflows with Geoprocessing2 pm Navigator for ArcGIS: Technical Preview

Network Analyst in ArcGIS Pro

3 pm Performing Network Analysis Network Analyst: Performing Network Analysis

Network Analyst: Creating Network Datasets

4 pm Network Analysis with ArcGIS Online

Demo Theater 10 AppsDemo Theater 10 AppsRoom 16 BRoom 16 B Demo Theater 13 Spatial AnalysisDemo Theater 13 Spatial Analysis Tech Theater 15 Exhibit Hall ATech Theater 15 Exhibit Hall A Tech Theater 17 Exhibit Hall ATech Theater 17 Exhibit Hall ARoom 15 ARoom 15 A

Page 21: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.

Thank you…

• Please fill out the session survey in your mobile app

• Select [enter session title here] in the Mobile App- Use the Search Feature to quickly find this

title

• Click “Technical Workshop Survey”

• Answer a few short questions and enter any comments

Page 22: Network Analysis with Python Deelesh Mandloi. Slides and code samples from this demo theater  Network Analysis with Python.