Network analyst: Added cost from line shapefile

2786
3
Jump to solution
11-12-2014 03:40 AM
Highlighted
New Contributor

I have a network dataset (a road network), and require a matrix of Cost Distances between many points, which works well.

I have now added a line shapefile (representing rail lines). I wish to use it to add cost when a rail line is crossed.

But of course as a line shapefile I am only offered the chance of restriction or scaled cost - but I wish to add a certain value when the rail line is crossed. I think maybe I need to use the 'calculate locations' toolbox to locate the polyline (rail line) on the network?

Any advice gratefully received.

I am using Arcmap 10.1 (advanced license).

Thanks

John

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Occasional Contributor III

Hi, John!  I don't think polyline barriers are quite what you are looking for.

If your goal is to add a cost at crossing, your best bet is probably to use additive point barriers.  Use the Intersect geoprocessing tool to output points where your lines cross.  Then, add those points in to your analysis as point barriers.  Give them the cost you want added to the routes when they are driven across.

The problem with polylines is that they only scale (multiply). They are not additive.   Your polyline barrier would have to travel along the road for some distance for multiplication to have any affect. 

View solution in original post

3 Replies
Highlighted
Occasional Contributor III

Hi, John!  I don't think polyline barriers are quite what you are looking for.

If your goal is to add a cost at crossing, your best bet is probably to use additive point barriers.  Use the Intersect geoprocessing tool to output points where your lines cross.  Then, add those points in to your analysis as point barriers.  Give them the cost you want added to the routes when they are driven across.

The problem with polylines is that they only scale (multiply). They are not additive.   Your polyline barrier would have to travel along the road for some distance for multiplication to have any affect. 

View solution in original post

Highlighted
New Contributor

Hi Patrick

Many thanks for your speedy reply - ahh, I see, that sounds the right way, I will try that.

Many thanks

John

Reply
0 Kudos
Highlighted
New Contributor

Hi again Patrick

Just to confirm that works well, many thanks again

John

Reply
0 Kudos