National grid to lat long conversion

Carl Drinkwater | 29degrees carl at 29degrees.co.uk
Tue Aug 28 13:35:19 EDT 2007


> I have a load of British National Grid references that I want to
> convert to decimal degrees so I can create a google KML file. Does
> anyone know of a module to do this?

I should probably have added that you can get a number of the  
variables you start off with from :

   http://www.ordnancesurvey.co.uk/oswebsite/gps/information/ 
coordinatesystemsinfo/guidecontents/guidea.html

and

   http://www.ordnancesurvey.co.uk/oswebsite/gps/information/ 
coordinatesystemsinfo/guidecontents/index.html

might be useful to read around the subject.  It might look complex,  
but don't let it put you off.  Also, you can get JavaScript code to  
do just this from the URL below, which would be a good starting point.

   http://www.movable-type.co.uk/scripts/latlong-gridref.html

Regards,
Carl.




More information about the Python-list mailing list