(unknown)

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Nov 15 11:08:23 EST 2009


En Fri, 13 Nov 2009 16:05:26 -0300, Ronn Ross <ronn.ross at gmail.com>  
escribió:

> I'm attempting to convert latitude and longitude coordinates from degrees
> minutes and second to decimal form. I would like to go from:
>     N39 42 36.3 W77 42 51.5
>  to:
> -77.739855,39.706666
>
> Does anyone know of a library or some existing out their to help with  
> this
> conversion?

Should be:

decimal = degrees + minutes/60.0 + seconds/3600.0
N,E are positive; S,W are negative.

But the above numbers don't match.

-- 
Gabriel Genellina




More information about the Python-list mailing list