Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a network dataset in ArcGIS and I need to generate all possible (not only the shortest one) routes between two given points (A, B).

Is it possible to do it with the Network Analyst?

Or with any other software? e.g. pgrouting?

share|improve this question
In general, no, because there are infinitely many routes. (Just keep bouncing back and forth along one segment for a while before continuing, or follow a loop multiple times.) This shows that you need to be more specific about what you might mean by "all" routes. Note, too, that many routes differ almost inconsequentially: one can take a minor detour off of and then back on to the best route (often in many different ways) to get an almost-best route. – whuber Nov 28 '12 at 21:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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