I have three feature classes, one is of Polygons and the other two of Polylines, representing a set of areas in a city and a network of transit lines between those areas - one network for current service and another with some changes in it. There's no topological connection between the feature classes.
- First I'd like to map out the service between all polygons in the city, in pairs - like in an Adjacency Matrix. As in "How many lines are connecting A & B?" Doing so for each set of two polygons. This process will repeat itself for both sets of polylines, in order to build two adjacency matrices, i.e. how many routes connect each pair of polygons.
- Then I'd like to compare the results of both networks and find how the service between areas of the city has changed - and return a numeric value of lost/gained connections. For example in TABLE 1, there's one new connection between A&C, and zero new connections between C&D (which has changed between lines yet retained one connecting line).
- If that's too complicated it would be sufficient to get something like in TABLE 2, in which every pair of polygons gets one field, and each line gets a row. In that way I could see which changes occurred and highlight problems at the individual line level.
I thought of doing many INTERSECT commands for each polygon and to calculate pairs manually in Excel, but how can I automate the process for example for 80 lines * 30 Polygons or more? I use both ArcMap and QGIS but I'm far from an expert in those...
How can I solve this, and is this considered complicated?