Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I see here that there is Fortran source code for going from USNG to lon/lat:

Is there some python or C/C++ code that does the same?

My understanding that this is not a function provided by Proj4/pyproj/GDAL, correct?

share|improve this question seems to suggest that you are correct that there is no proj4 support. It's from 2006 though. – Paul Hiemstra Dec 23 '11 at 8:20

You can create Python interfaces to Fortran programs using f2py. According to the web site, this facilitates:

  • Calling Fortran 77/90/95, Fortran 90/95 module, and C functions from Python.
  • Accessing Fortran 77 COMMON blocks and Fortran 90/95 module data (including allocatable arrays) from Python.
  • Calling Python functions from Fortran or C (call-backs).
  • Automatically handling the difference in the data storage order of multi-dimensional Fortran and Numerical Python (i.e. C) arrays.

The first point might serve your needs.

share|improve this answer
Thanks. I might use this as a last resort... – M Katz Jan 23 '12 at 6:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.