diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-01 12:36:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 06:50:49 -0700 |
commit | b42bae2ce8b665c45020f53ef8b494dffc086d38 (patch) | |
tree | 742c51c27e315a29250a77538b4f2ecb25b4afb2 /divesitehelpers.h | |
parent | 3055f4ac2212fef67a6e191538fe615f48be7042 (diff) | |
download | subsurface-b42bae2ce8b665c45020f53ef8b494dffc086d38.tar.gz |
Geo taxonomy: download the taxonomy data from geonames.org
There are a number of web servies we could use. All have their drawbacks.
This one is free with free data. It's daily limits are reasonably high.
For many coordinates I tested the results were good, for others at least
not terrible.
We can always consider supporting multiple such services. But for now this
seems like a reasonable choice.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesitehelpers.h')
-rw-r--r-- | divesitehelpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/divesitehelpers.h b/divesitehelpers.h index dad60be36..a08069bc0 100644 --- a/divesitehelpers.h +++ b/divesitehelpers.h @@ -8,6 +8,7 @@ class ReverseGeoLookupThread : public QThread { Q_OBJECT public: static ReverseGeoLookupThread *instance(); + void lookup(struct dive_site *ds); void run() Q_DECL_OVERRIDE; private: |