[GIS] Looking for a pure Python method to convert Lat/Long To MGRS

convertcoordinatespython

Does anyone know of any packages out there that implement a pure python method to convert lat/long coordinates to MGRS coordinates?

PyPi has a package, but it requires some c-extensions from another source, and I didn't want to use that. I figured before I go an recreate a complicated process, I'm hoping the community can make my life a tad easier.

Thanks everyone!

Best Answer

I'm the developer of the PyPI package. You could simply port the GeoTRANS code that lives in this package to Python if you want a pure-Python extension. Do you want to use this on AppEngine or something? Otherwise, a ctypes wrapper to a C extension that you don't have to worry about at all with pre-compiled versions for Windows is as good as it'll get...