Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: calculating latitude and longitude of nearby point


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: calculating latitude and longitude of nearby point
Date   Wed, 8 Jun 2011 15:26:12 -0500

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

Scott



On Tue, Jun 7, 2011 at 3:27 PM, Dimitriy V. Masterov <[email protected]> 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.
>
> DVM
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index