Hi, I forgot to report a minor bug when it was submitted to the Debian bug tracking system... Here it is:
http://bugs.debian.org/323305 BTW, all bugs reported are visible here: http://bugs.debian.org/proj I'm CC'ing this message to the Debian BTS. You may do that as well if you reply. Here's the bug: - Funny inputs result in wrong output [EMAIL PROTECTED]:~$ echo '90N 14E 90S 18E' | geod +ellps=WGS84 -I +units=km results in -2147483648d-2147483648'nan" -2147483648d-2147483648'nan" nan ...which looks like a bug to me. I'd expect something close to 20000km... [EMAIL PROTECTED]:~$ echo '89N 14E 89S 99E' | geod +ellps=WGS84 -I +units=km 137d29'31.508" -42d30'28.492" 19839.241 ..which seems okay but [EMAIL PROTECTED]:~$ echo '90N 14E 89S 18E' | geod +ellps=WGS84 -I +units=km 4d 180d 111.694 ...which is way too short. Going from north pole close to south pole should take more than 112 km. Ok, maybe core of the problem is that it does not check for invalid inputs, and 90N is invalid input for some reason? 91N definitely should be invalid ;-) [EMAIL PROTECTED]:~$ echo '91N 14E 89S 99E' | geod +ellps=WGS84 -I +units=km 132d29'44.351" -132d29'44.351" 150.914 -- Peter S. Galbraith, Debian Developer <[EMAIL PROTECTED]> http://people.debian.org/~psg GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]