Home > Enterprise >  Generate list of street Intersections in order
Generate list of street Intersections in order

Time:07-29

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.

CodePudding user response:

Solution 1:

I would recommend using the longitude and latitude and ordering it by that. For instance, you can tell if a street is "below" another if the latitude of 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).

CodePudding user response:

It sounds like you need to just create a relational database. My suggestion would be to get familiar (if you are not already) with Microsoft access. I can't think of any other tool that would suite you better.

All you would have to do is paste the list of intersections you already have into a table, create another table for the cross streets then, just make them relational. After that create your queries to spit out whatever data you want.

You will also have the opportunity to create a sort order of the cross streets relative to each intersection.

If you haven't used Access before, there is a bit of a learning curve but it's not like coding. Just watch a few youtube videos or invest in a Udemy coarse. I created a very similar database within a couple of days myself.

  • Related