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

Any ideas on how to accomplish this?


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, privacy policy and cookie policy

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