Hi Mike, It's essentially a table look-up. It's explained in detail in the DMA Tech Manual. However, there is a fairly clean C implementation for doing this with Geotrans -- a calculator for converting geographic coordinates that's pretty nifty in its own right. They also have a module for USNG, which is very similar.
http://earth-info.nga.mil/GandG/geotrans HTH, George Demmy On Tue, Feb 9, 2010 at 9:26 PM, Michal Migurski <[email protected]> wrote: > I'm trying to understand how to convert between lat/lon, UTM, and MGRS. > > UTM is a piece of cake, but MGRS is confusing. I'm looking at the wikipedia > article, and I don't understand how to reliably determine the SQ_ID, "FJ" in > the example here: > http://en.wikipedia.org/wiki/Military_grid_reference_system > > What's the process for determining those 100km square areas? > > -mike. > > ---------------------------------------------------------------- > michal migurski- [email protected] > 415.558.1610 > > > > > _______________________________________________ > Geowanking mailing list > [email protected] > http://geowanking.org/mailman/listinfo/geowanking_geowanking.org > _______________________________________________ Geowanking mailing list [email protected] http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
