[PROJ] 3D version of geod.inv/geod.fwd?

Charles Karney charles.karney at gmail.com
Mon Jun 28 08:38:26 PDT 2021


No.  There are two issues:

* The problem isn't fully defined.  It's not defined exactly what path
  is supposed to be followed from the source to the destination.

* The math for even is simplest generalization of the geodesic problem,
  namely geodesics on a surface of constant height above the ellipsoid,
  is complex.  (Mathar https://arxiv.org/abs/0711.0642 has got furthest
  on this.)

Alternatives are:

* Decompose the problem into a 2d one (geodesics on the ellipsoid) + 1d
  one (constant change in height along the 2d geodesic).

* Solve the problem in 3d Euclidean space.

Which approach is appropriate to your problem will depend on your
application.

On Mon, Jun 28, 2021 at 10:21 AM Idan Miara <idan at miara.com> wrote:
>
> Hi,
>
> Is there a 3D version of geod.inv/fwd?
> i.e
>
> lon1,lat1,alt1,lon2,lat2,alt2 ->
> azi12,s12,elevation12
>
> lon1,lat1,alt1,azi12,s12,elevation12 -> lon2,lat2,alt2
>
> Kind regards,
> Idan
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj



-- 
Charles Karney <charles at karney.com>
Princeton, NJ 08540


More information about the PROJ mailing list