From: Charles P. <ch...@ho...> - 2003-10-20 18:07:17
|
Hi All, I'm still messing around with the functions in locator.c - I'm writing=20= a little app which will query the current location from a GPS receiver,=20= search an XML database of repeaters and tune the rig to the nearest=20 one. When I'm at home, I am in IO93EB and my nearest repeater in GB3DY,=20= in IO93FB. The qrb() function believes that the two squares are the=20 same. Any ideas? Output from testloc is appended. Regards, Charlie -- 2E1WPC cpwp@snapper tests $ ./testloc io93eb 3 io93fb Locator1: io93eb Longitude: -1.625000 -1=B0 37' 30.00" Recoded lon: -1.625000 GPS lon: -1.625000 -1=B0 37.500' Recoded GPS: -1.625000 Latitude: 53.062500 53=B0 3' 45.00" Recoded lat: 53.062500 GPS lat: 53.062500 53=B0 3.750' Recoded GPS: 53.062500 Recoded: IO93EB Locator2: io93fb Longitude: -1.541667 -1=B0 32' 30.00" Recoded lon: -1.541667 GPS lon: -1.541667 -1=B0 32.500' Recoded GPS: -1.541667 Latitude: 53.062500 53=B0 3' 45.00" Recoded lat: 53.062500 GPS lat: 53.062500 53=B0 3.750' Recoded GPS: 53.062500 Recoded: IO93FB Distance: 0.00km Bearing: 0.000000, 0=B0 0' 0.00" |