1

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

Any ideas on how to accomplish this?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
ecology
  • 143
  • 6

1 Answers1

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.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
FelixIP
  • 22,922
  • 3
  • 29
  • 61