I got a point with latitude ‘x’ and longitude ‘y’ using decimals. The point is centered in a square, the length to each side is 12 meters. How do I find the latitudes and longitudes of each corner of the square? I program in Java, but I appreciate any pseudo-code. 🙂
After reading articles on the matter, I guess that a change of ‘d’-meters is equal to ‘e’-degrees (in decimal)..? If so, what is the “conversion-rate”?
I do not know if this helps, but given that it is 12 meters to each side, each corner has to be 16,97 meters from the point.
In advance, thanks 🙂
Store your center point lat/lon, as well as the distance to the corner (use some trig to figure this), and the radius of the earth in meters. Your bearing in degrees will be 45 to give you the top-right, 115 for top-left, and so on. Use the fancy math below to find the lat/long of your desired corner in decimal format. Convert to degrees by multiplying each by 180/PI