Tim Michelsen wrote:
    * 40:26:46N,79:56:55W
    * 40:26:46.302N 79:56:55.903W
    * 40°26'21"N 79°58'36"W
    * 40d 26' 21" N 79d 58' 36" W
    * 40.446195N 79.948862W
    * 40.446195, -79.948862
    * 40° 26.7717, -79° 56.93172

I'm aware that parsing and interpreting free-text coordinate descriptions is quite complex, maybe someone knows a script (or a remote service) that does a similar job?

Long time ago I made a script solving similar problems:

http://mateusz.loskot.net/software/gis/pydecimaldegrees/

It is very easy to extend it to support all the format
variations you've listed above.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
_______________________________________________
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss

Reply via email to