plotboxmark
New Member
- Joined
- Dec 9, 2015
- Messages
- 4
Hi
I was hoping someone could give me some assistance with a query I have to complete for a mapping project. I have calculated out the Grid intersections of a theoretical grid compared to true Latitude and Longitude co-ordinates:
<tbody>
</tbody>
The intersection is via the Top Left hand corner of the Grid square, and Alphas run Left to Right from A to CS, and Numerics run Up to Down from 1 to 180.
I then have a table of specific points known by Lat/Long that I need to reference to the Grid that the point lands in. The table of known points is around 7000 points long.
Is there a way I could lookup the Latitude value (which may throw back multiple rows with a value that matches between its starting value and the next cell starting value), and at the same time lookup the Longitude values for the same, but only return a result that matches both?
Its confusing me, hence the slightly awkwardly posed question, but any help would be great
Thanks
I was hoping someone could give me some assistance with a query I have to complete for a mapping project. I have calculated out the Grid intersections of a theoretical grid compared to true Latitude and Longitude co-ordinates:
Grid | LAT | LONG |
A1 | 37.8769569 | -122.5262497 |
A2 | 37.87692395 | -122.5262488 |
A3 | 37.876891 | -122.5262479 |
A4 | 37.87685806 | -122.526247 |
A5 | 37.87682511 | -122.5262461 |
A6 | 37.87679216 | -122.5262452 |
A7 | 37.87675921 | -122.5262443 |
A8 | 37.87672626 | -122.5262434 |
A9 | 37.87669332 | -122.5262425 |
A10 | 37.87666037 | -122.5262416 |
A11 | 37.87662742 | -122.5262407 |
<tbody>
</tbody>
The intersection is via the Top Left hand corner of the Grid square, and Alphas run Left to Right from A to CS, and Numerics run Up to Down from 1 to 180.
I then have a table of specific points known by Lat/Long that I need to reference to the Grid that the point lands in. The table of known points is around 7000 points long.
Is there a way I could lookup the Latitude value (which may throw back multiple rows with a value that matches between its starting value and the next cell starting value), and at the same time lookup the Longitude values for the same, but only return a result that matches both?
Its confusing me, hence the slightly awkwardly posed question, but any help would be great
Thanks