How to add 1 kilometer to a Google Maps coordinate?

1

How could I add 1km (or 1,000 meters) to a Google Maps coordinate to determine an area?

Example:

Radius formed by points A and B:

Point A = Latitude: -22.91009, Longetude: -43.107499.

Point B = Latitude (A) + VALUE, Longitude (B) + VALUE.

But the distance from A to B would be in kilometers or meters.

    
asked by anonymous 12.04.2015 / 04:38

1 answer

5
Assuming you calculated the radius by Pythagoras' theorem, it would not be in kilometers or meters, but in degrees. In this case you would have to make the difference between the latitudes of A and B and the difference between the longitudes of A and B. If the latitudinal distance between A and B was 10 ° and the longitudinal distance was 30 °, by Pythagoras's theorem we would have :

  

10 ^ 2 + 30 ^ 2 = X ^ 2 => √¯ 10 ^ 2 + 30 ^ 2 = 31.62

Considering that 1 ° latitude is about 110 km and 1 ° longitude varies from 110 km on the equator to 0 km at the poles #

    
12.04.2015 / 17:06