[Proj] Detecting new lat, lon coordinates from a initial point with an angle and length

Charles Wilson proj at cwilson.fastmail.fm
Mon Dec 16 09:04:51 EST 2013


On 12/16/2013 7:23 AM, Markus Neteler wrote:
> On Mon, Dec 16, 2013 at 12:55 PM,  <support.mn at elisanet.fi> wrote:
>> Hello,
>>
>> well, that is exactly what the proj.4 is created for .. you just
>> read all the documentation etc. and you should be able
>> to do it!
>>
>> http://trac.osgeo.org/proj/
>>
>> There is no short cut ... except if you find some
>> open source code somewhere in the net ... which you
>> anyway have to usually modify.
> Here is a candidate:
>
> GRASS GIS m.cogo - A simple utility for converting bearing and distance
> measurements to coordinates and vice versa.It assumes a cartesian
> coordinate system
> http://grass.osgeo.org/grass70/manuals/m.cogo.html
>
> It is PROJ.4 based of course...
>
And here is another one:

http://www.ngs.noaa.gov/TOOLS/Inv_Fwd/Inv_Fwd.html
http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/

which implements the Vincenty algorithm (you want the "forward" 
version). It's in Fortran IIRC, and does not have any special handling 
for nearly antipodal points (so gives incorrect results for those cases).

--
Chuck



More information about the Proj mailing list