I have a list of all intersections in a city with coordinates. I am trying for an end result of a list of all the intersections in the order they appear. For example, if I put in Alameda & 5th - I want to see all cross streets if I keep going down Alameda (ex Alameda & 6th, Alameda & 7th, etc. ) However, they aren't all numbered streets.
I need the final format to be text-based - no visual mapping. I'm quite stumped on how to start and hoping for some direction.
Solution 1:
I would recommend using the
longitudeandlatitudeand ordering it by that. For instance, you can tell if a street is "below" another if thelatitudeof it is less than the other one. That'll probably get most of them in the right spot.You can then manually double check them if there's not too much data.
Solution 2:
If there's not that much data, you might want to simply do it by hand. This isn't very efficient, but it could save your time (again, depending on the amount of data you have).