100 by 40000 OD will generate too many lines for the path solver to be efficient. i.e. each of the 100 locations will have 40,000 lines emenating from it...
Why do you need to intersect the lines? Basically you need a straight line to connect all locations.
You can do this by running an OD for all points and write out the lines to a new feature class and then create a network from it and then solve Location-Allocation.
Note of caution: there is a limit to this approach. as the number of locations increases, the output lines are square of the number of inputs so it will become extremly large. AND as the number of lines leaving a location increases the shortest path algorithm will take longer to compute the paths (even though they are straight lines). So I will suggest that if you have some distance contraints, apply them to the OD so that you do not compute a fully connected network.
Alternatively, you can create a dense grid network (fishnet) and use that to run your analysis on. that way the shortest path is the diagnol and is slightly more than the straight line (due to size of grid cells) and give reasonable results fast.
I'm not sure I understand your situation. Could you simply buffer your locations to your 'as the crow flies' distance?
I am wanting to do Location-Allocation analysis (minimize facilities) using network analyst, but I need the maximum distance to be as the crow flies, and not a distance down a road in my network. Currently it works really well, doing what I'd expect it to do, highlighting the minimum facilities I need, however this is all based on a maximum distance down a road. I need the maximum distance to be a straight line between facility point and demand point, and ignoring the distance traveled down roads.Is this possible to do, and how? I don't need my roads, if there's a way to replace them with something else, I've just used them as that's the network I already have. I'm trying to model sound, so the road traveled is irrelevant.Does this make sense?I attempted to make a new network, I created lines radiating out from each facility point (360 lines from each point), however I then needed to split each one as they intersected, and so far the tool hasn't finished running (been several hours so far). I'm working with about 38000 lines pre-intersect, with many of them overlapping with a number of others. So I'm not sure yet whether this will work.I'd appreciate any suggestions 🙂Thanks,Mike.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.