I have a map of a specific area and I need to determine whether a given location -with lat-lon coordinates- falls into any grid that covers this map.
I decided to divide the map of the area I was given into 1 km x 1 km square grids using Google Earth -enabling the square grids using CTRL+L and zooming to the appropriate scale so that the grid lines are 1000 meters away from each other- and extract the entire data as KML, in order to get the latitude and longitude values for the corners of every single grid in my map and do a lookup from there -to see if the given lon/lat falls into any square grid and if it does, which grid etc.- but I don't know if this can be done -if Google earth allows me to extract its own square grid coordinates in KML format-.
Can someone provide any information about whether this is possible, and if possible how it can be done?
Consider for example the area that is between latitude 89N and latitude 90N (the north pole). The earth's circumference at latitude 90N is 0, hence, this the total area is circle-shaped.
It is not possible to divide any part of a sphere or an ellipsoid surface into non-overlapping, adjusting rectangles.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With