Find the "direction" of a line

المشرف العام

Administrator
طاقم الإدارة
I have a question that has been perplexing me.

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 any body have advice for how to approach the problem?

Thank you in advance!



أكثر...
 
أعلى