[Proj] PyProj API question

Charles Karney charles at karney.com
Mon Apr 23 05:27:57 EST 2018


The documentation says that the distance is in meters.  If you
initialize the Geod object with

   g = Geod(a = 180/math.pi, f = 0)

then you'll be treating a sphere with circumference 360, so you
can then think of the distance as being arc length (in degrees).

On 04/23/2018 05:37 AM, ashwin .D wrote:
> Hello,
>               I am not sure whether this is the right mailing list for 
> this question and please let me know if this question if off topic. I am 
> using PyProj and I am trying to find the equivalent of the MATLAB API 
> call reckon - https://in.mathworks.com/help/map/ref/reckon.html. I have 
> this API Geod - https://jswhit.github.io/pyproj/pyproj.Geod-class.html 
> and I can get the forward and backward azimuth using inv() but I also 
> have to supply a range which is the arc length to get the point at 
> specified azimuth given a initial point. Unless I am missing something 
> obvious can somebody give me a clue on this one ?
> 
> In fwd() is the distance the arc length ?
> 
> Best regards,
> Ashwin.
> 
> 
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj


More information about the Proj mailing list