RPC transformer: RPCInverseTransformPoint() doesn't check convergence
|Reported by:||Even Rouault||Owned by:||Even Rouault|
RPCInverseTransformPoint() doesn't check that the guessed (long, lat) has converged within the tolerance and thus the transformer can return a completely wrong result.
Furthermore during the iterations, it doesn't take into account the DEM elevation, only in a post processing stage. We might get better convergence by updating it at each iteration.