Creating routes between a feature class of workplaces and a feature class of homes.

366
2
06-13-2021 04:14 PM
jakehogan
New Contributor

Hello everyone,

I’m very new to all of this so my apologies if there is a very obvious answer to this.

So I have a table that includes people, their home addresses, their work addresses, and some other info relevant to the project. From this I created two feature classes, one with points for everyone’s house and one with points for everyone’s workplace. Now, I want to display the routes between everybody’s house and their workplace.

I’m struggling with figuring out the best way to create these routes. I know that I could use closest facility and import the matching house/workplace as incidents/facilities, but I think that I would then have to create separate layers for each persons commute for it to work properly.

Is there any way that I could import all of the points and create routes between the matching ones? For example, a route would be drawn between house 1 and workplace 1, house 2 and workplace 2, etc. I want all of the routes to be in the same layer so that I can apply a graduated symbology to them.

Thank you very much!

0 Kudos
2 Replies
JaySandhu
Esri Regular Contributor

Yes it is possible and quite easy to do as long as you have a common ID between the two feature classes to indicate which point goes to which point. If they are in the same order then the feature ID should work.

Are you using ArcGIS Pro? If yes, create a Route analysis layer (not Closest Facility). Load your house feature class AND make sure to map the ROUTENAME property to common ID. Then load the work feature class and set the same ROUTENAME property to the common ID from the work feature class. Now solve the route layer. You will get one route per common ID. So if you loaded ten pairs of home/work points, you will get ten output routes.

You can read more about the ROUTENAME here: Route analysis layer—ArcGIS Pro | Documentation

Jay Sandhu

0 Kudos
MelindaMorang
Esri Regular Contributor

Hello Jake and anyone else reading this thread who might be doing similar workflows.

Esri’s Network Analyst Team is doing some research about customer workflows involving solving routes or calculating travel times and distances between known or preassigned pairs of origins and destinations.  It sounds like that's what you're doing here!  We’d like to better understand our customers’ needs in this area and may use this information to design and develop improved tools and workflows.

If you have a few minutes and are willing, could you please fill out the attached survey and return it to the e-mail address included inside the document?  Alternatively, you can reach out to me (my e-mail address is in the document) to set up a meeting.

Thank you so much!!

0 Kudos