+ Reply to Thread
Results 1 to 2 of 2

Thread: How to assign "from" and "to" cross streets to attributes

  1. #1
    Chris Dunlop
    Join Date
    May 2010
    Posts
    7
    Points
    1
    Answers Provided
    0


    1

    Default How to assign "from" and "to" cross streets to attributes

    Hi. I have a topologically clean street network, split at intersections. For each street segment I need to capture the "from" and "to" cross streets and store them as attributes of the street segment. Is there an easy way to do this?

    Thanks!

    Chris

  2. #2
    Dan Lee

    Join Date
    Oct 2009
    Posts
    582
    Points
    143
    Answers Provided
    27


    1

    Default Re: How to assign "from" and "to" cross streets to attributes

    I wonder if you could try the following (requiring ArcInfo license):

    1. Run the Feature Vertices To Points tool with START (for starting point) option to get the fromPoints of the lines. These points will carry line attributes and an ORIG_FID field.
    2. Run Spatial Join tool to join each of the fromPoints with its intersecting lines. Or you can try Select By Location to select intersecting lines for each fromPoint.
    3. From here you probably need to write some script to loop through each fromPoints and its associated set of intersecting lines to compare their road names; if an intersecting line has a different road name from the point, can you assume it is a cross road? Then you can find that road through the ORIG_FID of the point and calculate/write the cross road name to a field.

    If the above works, you can repeat it for the END points.

    Sorry I don't have time to test the workflow; hope it gives you some lead.

    Regards,
    Dan (Geoprocessing)

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts