route outside network dataset

1510
3
Jump to solution
07-15-2013 12:14 AM
Highlighted
New Contributor
Hello GIS Community!

I'm looking for a possibility to route to a facility outside the network dataset.
I would like to get a route like in my attached image (not one that stops on the nd), is this possible?

Thank you!

[ATTACH=CONFIG]25916[/ATTACH]
Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Regular Contributor
You can do some post processing to achieve this:

First make sure your data is projected. Then run the Calculate Locations tool on your input points/stops. This will add the snap x and y locations and Distance in the projection units. Say it is in meters. Also run the AddXY tool to add the actual XY of the point to the table.

If you want to get that extra off road length accounted for in the route returned:
You can then load the locations to a route stops class. When you do that, and say you are solving on a length attribute in meters, you can map the Distance field to the Attr_Meters field. Now when you solve, the route length reported back add in the distance from the stops to the road when it reports it back. 

Now to get the actual shape, you will have to "draw" the line from the point to the snapped xy locations. You can use the XY to Line tool. This will take in two sets of X,Y fields and make a new line feature. You can choose to simply display them or do further processing to add them the route shape generated.

Another useful tool that can come in handy is the Copy Traversed Source Features to create the individual edges that were traversed by the route. You can choose to add your new lines to this output.

Jay Sandhu

View solution in original post

Reply
0 Kudos
3 Replies
Highlighted
MVP Esteemed Contributor
Not gonna happen.  You can't traverse what doesn't exist.
Reply
0 Kudos
Highlighted
New Contributor
Thanks for your response 😉
Reply
0 Kudos
Highlighted
Esri Regular Contributor
You can do some post processing to achieve this:

First make sure your data is projected. Then run the Calculate Locations tool on your input points/stops. This will add the snap x and y locations and Distance in the projection units. Say it is in meters. Also run the AddXY tool to add the actual XY of the point to the table.

If you want to get that extra off road length accounted for in the route returned:
You can then load the locations to a route stops class. When you do that, and say you are solving on a length attribute in meters, you can map the Distance field to the Attr_Meters field. Now when you solve, the route length reported back add in the distance from the stops to the road when it reports it back. 

Now to get the actual shape, you will have to "draw" the line from the point to the snapped xy locations. You can use the XY to Line tool. This will take in two sets of X,Y fields and make a new line feature. You can choose to simply display them or do further processing to add them the route shape generated.

Another useful tool that can come in handy is the Copy Traversed Source Features to create the individual edges that were traversed by the route. You can choose to add your new lines to this output.

Jay Sandhu

View solution in original post

Reply
0 Kudos