[GRASS-user] How to find a point on Earth d distance away from a given point?
Markus Neteler
neteler at osgeo.org
Thu Sep 8 03:00:14 PDT 2016
Hi Yuri,
On Thu, Sep 8, 2016 at 11:35 AM, Yuri Kanivetsky
<yuri.kanivetsky at gmail.com> wrote:
> Hi,
>
> Sorry if this sort of questions are not discussed here. If so, I'd
> appreciate it if you told me where to ask.
>
> Given a point A (lat1, lng1) I need to find coordinates of point B
> (lat2, lng2) d km away from point A.
>
> This is basically what I want:
>
> http://math.stackexchange.com/questions/1026466/given-a-longitude-and-latitude-and-a-specified-distance-how-would-i-go-about-fi/1026501
While I cannot help you right away with your math, you may want to
take a look at this GRASS GIS module:
m.cogo - A simple utility for converting bearing and distance
measurements to coordinates and vice versa. It assumes a cartesian
coordinate system
https://grass.osgeo.org/grass72/manuals/m.cogo.html
At the bottom of the manual page you find the link to the source code.
Best,
Markus
--
Markus Neteler
http://www.mundialis.de - free data with free software
http://grass.osgeo.org
http://courses.neteler.org/blog
More information about the grass-user
mailing list