Detect and parse human-readable geographic coordinates.
License
kurtraschke/geolucidate
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
geolucidate is a Python library for parsing coordinates in a variety of input formats and returning a link to Google Maps or Bing. This was originally part of a larger project to parse the CADORS National Report (see http://wwwapps.tc.gc.ca/saf-sec-sur/2/cadors-screaq/m.aspx?lang=eng) 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/tests.py have all been harvested from various recent CADORS reports. Some test cases which have been determined to be invalid input have been commented out.
About
Detect and parse human-readable geographic coordinates.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published