geolucidate 0.3

Detect and parse human-readable geographic coordinates
geolucidate is a Python library for parsing coordinates in a variety of input formats and returning a link to Google Maps or Microsoft Bing. This was originally part of a larger project to parse the CADORS National Report (see into an Atom feed, but I am releasing it separately as I envision it may be useful in a wide variety of applications. There's no formal specification for the input format; it's based on what I've observed in CADORS reports and is fairly liberal. If you have degrees, minutes, and seconds (or a decimal fraction of minutes) in any recognizable format, it should be parsed correctly.

The test cases in tests/ have all been harvested from various recent CADORS reports. Some test cases which have been determined to be invalid input have been commented out.

There is no formal documentation yet, but the docstring for replace() should provide sufficient guidance for now.

last updated on:
May 18th, 2011, 0:15 GMT
developed by:
Kurt Raschke
license type:
MIT/X Consortium License 
ROOT \ Text Editing&Processing \ Markup


In a hurry? Add it to your Download Basket!

user rating



Add your review!