Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <n.j.cox@durham.ac.uk> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: calculating latitude and longitude of nearby point |

Date |
Thu, 9 Jun 2011 11:06:40 +0100 |

I am still trying to work out the reversal of sign and the change of |longitude| just from going 1 mile North.... (Yes, I know I am a geographer.) Nick n.j.cox@durham.ac.uk Scott Merryman There is an example of calculating the destination point given distance and bearing from start point at: http://www.movable-type.co.uk/scripts/latlong.html On Tue, Jun 7, 2011 at 3:27 PM, Dimitriy V. Masterov <dvmaster@gmail.com> wrote: > I would like to calculate the latitude and longitude of a point that > is x miles in a given direction from a certain location. For example, > Stata HQ is at 30.55233 and -96.24564. If I were to go 1 mile north, > that point would be at approximately 30.567202 and 96.245539. Is there > a way to do this in Stata? I know there's a way to calculate geodetic > distances between two points, but this would be the inverse. I am only > interested in going up to 10 miles out and all my points are in > continental US. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: calculating latitude and longitude of nearby point***From:*"Dimitriy V. Masterov" <dvmaster@gmail.com>

**References**:**st: calculating latitude and longitude of nearby point***From:*"Dimitriy V. Masterov" <dvmaster@gmail.com>

**Re: st: calculating latitude and longitude of nearby point***From:*Scott Merryman <scott.merryman@gmail.com>

- Prev by Date:
**st: Combining inteff, margeff and outreg2** - Next by Date:
**Re: st: Combining inteff, margeff and outreg2** - Previous by thread:
**Re: st: calculating latitude and longitude of nearby point** - Next by thread:
**Re: st: calculating latitude and longitude of nearby point** - Index(es):