[GRASS5] [bug #3630] (grass) error in v.proj/r.proj in gnomonic projection

According to the output of the "proj -lP" command:
gnom : Gnomonic
        Azi, Sph.
gnomonic projection can only be used with a spherical earth model. So you
are going to get undefined behaviour / errors if re-projecting between an
ellipsoid and a sphere.

Unfortunately I don't know enough to be able to explain it any better than
that.

One last thing you could try to get the results you want would be to add the
line
towgs84: 0,0,0
to both the PROJ_INFO files for your two locations you are re-projecting
from/to, before running v.proj. It might fool PROJ into doing some extra
ellipsoid/sphere conversions; I don't know.

-------------------------------------------- Managed by Request Tracker

Paul Kelly via RT wrote:

According to the output of the "proj -lP" command:
gnom : Gnomonic
        Azi, Sph.
gnomonic projection can only be used with a spherical earth model. So you are going to get undefined behaviour / errors if re-projecting between an ellipsoid and a sphere.

I wonder if a two-step reprojection temporarily could solve this: first projecting from a location with krassovsky ellipsoid into a lonlat sphere location, then to gnomonic. Of course for rasters resampling errors would be greater but keeping resolutions at similar values could perhaps retain acceptable quality.

Morten