I have line feature class of a river network and “FromTo” table. Lines are dissolved so they are not segmented from junctions. I need to write a Python script in ArcGIS to do following:
أكثر...
- Begin from the first row in Hydro feature class attribute table and get its ID
- Insert this ID into “From” field in “FromTo” table
- Get ID(s) of line(s) which intersect(s) first line (e.g. second lineintersect first line)
- Inset ID into “To” field in FromTo table
- Get ID of second row in Hydro feature class attribute table
- Insert this ID into “From” field in “FromTo” table
- Get IDs of lines which intersect second line (e.g. first andthird lines intersect second line)
- Inset IDs into “To” field in FromTo table
- So on…

أكثر...