I have a set of transportation analysis zones, and a set of shorted path polyline features connecting the centroids of each zone. There are two line features between each zone, one for each direction. Each line feature has an attribute, the travel demand between the origin and destination zone. The demand is not necessarily symmetrical.

I am trying to capture the total demand along "corridors". Each corridor is a buffered zone around the line feature connecting two zones. The buffer is used to select by location all other line features (connecting zones) that fall within the buffer.

I am now trying to sort out the demand by direction. I would like to select all line features whose destination zone is closer than its source zone to the corridor destination.

I am using Model Builder in ArcMap 10.2.2. I can successfully select all line features within the buffered corridor and dissolve the demand, however, I am having difficulty sorting by direction. I have tried several ideas, but have not found a working solution. Does anybody have advice for how to approach the problem?

-- Edit: I am currently using mock data, but I have 5 "census tracts", with an 11 digit GEOID ending with 1-5. Each path has a start and end zone, with a separate line feature representing the path in each direction. "Est" is the demand from origin to destination (circa 2010 CCTP commuter flows). enter image description here

  • Could you please update your question with picture
    – FelixIP
    Sep 30, 2015 at 2:25
  • Hi Felix, I have added an image illustrating my current attempt. I am open to possibly using a different method if it might work better.
    – MapMike
    Sep 30, 2015 at 21:57
  • What do you mean by "direction" and how does one sort by it?
    – Paul
    Sep 30, 2015 at 22:24
  • Looking at the above, the feature from 3 to 2 is highlighted. I want to distinguish this from 2 to 3. For instance, I would like to collect all paths from 5 to 1. This would include "5-1, 5-4 ,4-1 ,5-4, 3-1, etc" but not the opposite features (1-3, 1-4, 4-5, 1-5, etc).
    – MapMike
    Sep 30, 2015 at 23:06
  • So it is like a braided river and you'd like to find a shortest/fastest single route from any node to destination?
    – FelixIP
    Sep 30, 2015 at 23:28

1 Answer 1


So, I ended up finding a solution, not an elegant one, but a working one.

Each path had an origin and destination zone. I added the x and y coordinates to for each zone as attributes to the line feature, and then calculated the respective distances to the x and y coordinates of the corridor destination zone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.