AnsweredAssumed Answered

Network analysis in Python

Question asked by matthiasBuehler on Feb 23, 2015
Latest reply on Mar 4, 2015 by matthiasBuehler

Hi,

 

I'd like to automate the following tasks completely in Python. Can somebody provide me with some introductory code ?

 

1) Define a street network in a GDB ( actually also create the street features in Python based on other data)

2) Take that street network as the network analysis base

3) Define a start point and end point of a route ( do these points have to be exactly ON the network line ?)

4) Run the analysis

5) Print out in the console how long it would take to walk that distance (at a certain speed)

 

A very simple example with 3 imaginary streets would be very helpful.

 

Any input welcome!

 

Thanks,

Matt

Outcomes