Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Add macros for handling lat/long to bin conversions.