Calculating azimuth from Magnetic North: any Java libraries out there?

View: New views
2 Messages — Rating Filter:   Alert me  

Calculating azimuth from Magnetic North: any Java libraries out there?

by Davidian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm currently using the com.bbn.openmap.geo.Geo class to calculate azimuth values from true north.  This works great for me.  However, our application also requires that we be able to calculate azimuth from magnetic north as well.  I realize that this is a more difficult calculation, and it doesn't appear that OpenMap supports this function.

Does anyone know of any Java classes (algorithms, libraries, etc....) that can do these calculations?  The software doesn't have to be free, but that would be a bonus  :)

Thanks,

Kennedy

Re: Calculating azimuth from Magnetic North: any Java libraries out there?

by Don Dietrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found this java file here:

http://williams.best.vwh.net/ftp/avsig/magfield.jav

It is released under the GPL, though, so I can't include it in OpenMap.

- Don






On Jul 21, 2008, at 1:53 PM, Davidian wrote:

>
> I'm currently using the com.bbn.openmap.geo.Geo class to calculate  
> azimuth
> values from true north.  This works great for me.  However, our  
> application
> also requires that we be able to calculate azimuth from magnetic  
> north as
> well.  I realize that this is a more difficult calculation, and it  
> doesn't
> appear that OpenMap supports this function.
>
> Does anyone know of any Java classes (algorithms, libraries,  
> etc....) that
> can do these calculations?  The software doesn't have to be free,  
> but that
> would be a bonus  :)
>
> Thanks,
>
> Kennedy
> --
> View this message in context: http://www.nabble.com/Calculating-azimuth-from-Magnetic-North%3A--any-Java-libraries-out-there--tp18573958p18573958.html
> Sent from the OpenMap mailing list archive at Nabble.com.
>
> --
> [To unsubscribe to this list send an email to "majdart@..."
> with the following text in the BODY of the message "unsubscribe  
> openmap-users"]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@...
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




magfield.java (35K) Download Attachment
LightInTheBox - Buy quality products at wholesale price!