Converting DMS coordinates to DD using PyProj

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Converting DMS coordinates to DD using PyProj

Adrien ANDRÉ
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
_______________________________________________
Proj mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/proj