Just working on it in SQL server now. You didn’t mention what program you were working in?
This is the function in SQL for decimal degrees – you may have to preprocess to get to decimal degrees from minutes/ second.
ATan 2 function is not always available, but there is ways of workiing around it. I think I have posted some in the past.
A good reference is:
No virus
found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.325 / Virus Database: 270.12.23/2106 - Release Date: 05/09/09
06:54:00
The same formula should be available then.
Be careful, aligning radio antenna with co-ordinates doesn't always give you the best signal strength. I found that on shorter hauls (between 1 - 20k), in some environments, the antennas needed to be off centre. And you have the added problem of measuring the same north in both your mapping system and onsite.
To calculate the angle between the sites have a look at:
http://www.teacherschoice.com.au/Maths_Library/Coordinates/polar_-_rectangular_conversion.htm or http://www.mathwords.com/p/polar_rectangular_conversion_formulas.htm or the results from http://www.google.com/search?q=polar+rectangular+conversion&rls=com.microsoft:en-US&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1
Hope this helps
Regards Ian
______________________
Ian Tidy
GIS Analyst / Developer
Works Asset Department
Napier City Council
Skype ian.tidy.ncc
mailto:ia...@napier.govt.nz
http://www.napier.govt.nz | http://maps.napier.govt.nz
This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal