[Geowanking] Converting to MGRS

Michal Migurski mike at stamen.com
Tue Feb 9 15:48:52 PST 2010


Thanks for the info, everyone. The JS implementation in particular  
should be relatively easy to port.

-mike.

On Feb 9, 2010, at 2:56 PM, sophia parafina wrote:

> 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 <crschmidt at metacarta.com 
> > 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 <mike at stamen.com>
> >> 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- mike at stamen.com
> >>>                 415.558.1610
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Geowanking mailing list
> >>> Geowanking at geowanking.org
> >>> http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
> >>>
> >>
> >> _______________________________________________
> >> Geowanking mailing list
> >> Geowanking at geowanking.org
> >> http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
> >>
> >
> > ----------------------------------------------------------------
> > michal migurski- mike at stamen.com
> >                  415.558.1610
> >
> >
> >
> >
> > _______________________________________________
> > Geowanking mailing list
> > Geowanking at geowanking.org
> > http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
>
> --
> Christopher Schmidt
> MetaCarta
>
> _______________________________________________
> Geowanking mailing list
> Geowanking at geowanking.org
> http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
>

----------------------------------------------------------------
michal migurski- mike at stamen.com
                  415.558.1610






More information about the Geowanking mailing list