How to find number of street located in between

3746
7
04-23-2016 07:43 AM
Highlighted
New Contributor

having a street network with points as origins and points as destinations, i would like to know how many streets are located between each origin and destination calculated by network analyst extension.The extension doesn't provide such information. Thanks in advance.  

Reply
0 Kudos
7 Replies
Highlighted
Regular Contributor II

that it will be easy with the following steps:

1 - In Network Analyst bar make " New Route"

2- put your origin and destination points.

3- click solve to draw the Route

4- Do select by location ("Targets Layer" will be street layer   /  Source Layer " Routes"   /  Spatial Selection Method " Share a line segment with the source layer feature" )

and you will get streets are located between each origin and destination.

thanks

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Is it streets... where the name changes... or intersections that you are after? The reason I ask, is that my city has one 'street' that is contiguous and 40 km long, however, it's name changes 5 times along the route because of historical reason.  The number of intersections is useful if you are trying to model travel times in a realistic fashion but the change in its name wouldn't relevant

Reply
0 Kudos
Highlighted
New Contributor

Yes, The number of intersections is the exact thing that I am looking for in a OD cost matrix analysis.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Oh well, once you assemble your routes, you will have to determine which intersections are signalled or have stop signs.  These data are often available from your municipality.  There is little to no point in reducing the street file to an intersection file... only to have 3/4s of the intersections non-signalled.  These data would be useful since signal/stop signs often only apply to part of the traffic flow and not flow in all directions.  Hence, the need for the data from source or from field work.  Or as a simple alternative, you could just get the intersections from the network dataset (it is the points file) and do your multiple select by attributes, summarize as a count and then apply some general penalty for traversal... say 10 seconds per intersection... that doesn't mean 10 will actually be involved at an intersection, but it is a generic penalty.  Once you have that, away you go.  Sometimes it might just be useful to aportion a penalty to the road distance.  This could just be a linear factor.  Say travelling along a road with a 60 km/hr speed limit is in reality, like a real speed of 50 km/hr factoring in stops etc.  It is up to you.  Just do be aware that the actual times you estimate will still have that time component.

So in summary... spending the extra effort may or may not improve your results.  What ever procedure you take the results will all be relative to one another and probably bear little resemblance to actual times.  That is where actual studies of traffic flow are useful.   Good luck

Highlighted
New Contributor

Thanks for your reply. But using new route one can get the result only for one route each time while I have thousands routes (one route for each origin and destination) something like what OD cost matrix provides for different routes. sorry for the misunderstanding.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

so you want to do an OD matrix for many origins and destinations, but you want to count the number of streets inbetween as well?  That would be quite the task if you are prepared to dissect each route as it is produced or dissect the number of 'roads' from each OD.  Can you articulate why you need to know that, rather, than just the route?  Remember too, that the time that one goes from point A to point B can be greatly affected by the time of day.  The shortest route needs to be assessed as either the shortest time or the shortest distance.  It is not uncommon for this to be completely different things depending where the O and D are and when you need the information for.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

moving to Network Analyst​ in case others have ideas or can clarify/simplify the objectives

Reply
0 Kudos