[Proj] Converting DMS coordinates to DD using PyProj

Adrien ANDRÉ adr.andre at laposte.net
Sun Dec 1 14:08:01 PST 2013


Hi all,

i'd like to convert places coordinates displayed here to the more 
convenient decimal degrees format:
http://www.cayenne.ird.fr/aublet2/aff_plateau.php3?plateau=Guyane+fran%E7aise

I used to do this kind of processing using regular expressions and the 
cs2cs command:
echo "52d08'11.70W 04d38'53.90N \"Mare aux Caimans\"" | cs2cs -f "%.6f" 
+init=epsg:4624 +to +init=epsg:4326

 From Python, is it possible to achieve this using PyProj?


Thanks in advance,

Adrien



More information about the Proj mailing list