[Marble-bugs] [marble] [Bug 351308] New: Implement an Open Location Code Search Runner

Dennis Nienhüser nienhueser at kde.org
Fri Aug 14 20:21:06 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=351308

            Bug ID: 351308
           Summary: Implement an Open Location Code Search Runner
           Product: marble
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Keywords: google-code-in, junior-jobs
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: nienhueser at kde.org

>From https://github.com/google/open-location-code
"Open Location Codes are a way of encoding location into a form that is easier
to use than latitude and longitude. They are designed to be used as a
replacement for street addresses, especially in places where buildings aren't
numbered or streets aren't named. Open Location Codes represent an area, not a
point. As digits are added to a code, the area shrinks, so a long code is more
accurate than a short code. Codes that are similar are located closer together
than codes that are different. A location can be converted into a code, and a
code can be converted back to a location completely offline. There are no data
tables to lookup or online services required. The algorithm is publicly
available and can be used without restriction.

Codes are made up of a sequence of digits chosen from a set of 20. The digits
in the code alternate between latitude and longitude. The first four digits
describe a one degree latitude by one degree longitude area, aligned on
degrees. Adding two further digits to the code, reduces the area to 1/20th of a
degree by 1/20th of a degree within the previous area. And so on - each pair of
digits reduces the area to 1/400th of the previous area.

As an example, the Parliament Buildings in Nairobi, Kenya are located at
6GCRPR6C+24. 6GCR is the area from 2S 36E to 1S 37E. PR6C+24 is a 14 meter wide
by 14 meter high area within 6GCR." ...

A basic support in Marble would allow searching for Open Location Codes by
implementing a search runner for it. src/plugins/runner/localdatabase/ should
be a good template for an offline running search plugin.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list