1

Attempting to extract a binary connectivity matrix from network dataset created from river network shapefile.

Any ideas on how to accomplish this?

0

1 Answer 1

1

Graph below has 44 nodes and 43 edges. I used technique described in this answer to Assigning point IDs to respective start and end attributes of polyline? to assign from node index (fi) and to node index (ti) to its' edges:

enter image description here

After that:

  • create 2 point layers using fi,ti and ti,fi accordingly as XY fields and merged them;
  • Converted points to raster and replaced NO DATA with zeros

enter image description here

Convert this raster to points to get your table.

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.