Ticket #129 (new defect)
NaN result for inverse transform on ellipsoid with very close points
| Reported by: | nnseva | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | unspecified |
| Keywords: | NaN,invgeod | Cc: |
Description
I've passed very close coordinates with difference at fifth digit after dp in seconds to invgeod and received a NaN result: echo 56d16'19.00001 43d58'35.00001 56d16'19.00002 43d58'35.00002 | invgeod +ellps=WGS84 - -2147483648d-2147483648'-nan" -2147483648d-2147483648'-nan" -nan
What I am expecting: Basing on passed values it should be 0,0,0
Really the invgeod filters input (see # define DTOL at the top of the geod_inv.c file), but it is not enough as we can see.
The problem has been initially found and reported to pyproj project v.1.2.9/trunk. It also has been reproduced on invgeod v.4.7.1. As I can see in the geod_inv.c source, it should still remain in trunk version.
