Also, see http://www.fidnet.com/~jlmoore/usng/help_usng.html and http://www.fidnet.com/~jlmoore/usng/usng.js
sophia On Tue, Feb 9, 2010 at 4:12 PM, Christopher Schmidt <[email protected] > wrote: > On Tue, Feb 09, 2010 at 02:03:24PM -0800, Michal Migurski wrote: > > *gurgle* I was hoping to stick to short Python functions. Thanks for the > > pointer, maybe there's something I can salvage from there! > > Not simple or Python, but: > > http://haiticrisismap.org/js/usng2.js > > is some JS code that does the conversion. > > -- Chris > > > -mike. > > > > On Feb 9, 2010, at 1:43 PM, George Demmy wrote: > > > >> 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 > >> > > > > ---------------------------------------------------------------- > > michal migurski- [email protected] > > 415.558.1610 > > > > > > > > > > _______________________________________________ > > Geowanking mailing list > > [email protected] > > http://geowanking.org/mailman/listinfo/geowanking_geowanking.org > > -- > Christopher Schmidt > MetaCarta > > _______________________________________________ > 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
