lp:~xnox/ubuntu-geonames/fix-duplicates
Created by
Dimitri John Ledkov
and last modified
- Get this branch:
- bzr branch lp:~xnox/ubuntu-geonames/fix-duplicates
Only
Dimitri John Ledkov
can upload to this branch. If you are
Dimitri John Ledkov
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Evan (community): Approve
-
Diff: 166 lines (+37/-33)4 files modifiedREADME (+7/-7)
geoname-modpython.py (+15/-8)
import-geonames.sh (+14/-17)
sphinx.conf (+1/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 20. By Dimitri John Ledkov
-
Query all matching locations at once, removing duplicates.
Generate lists of ids to query first, then execute SQL query with a
UNION across normal and alternative names tables. UNION removes
duplicates. So for example, "New York" now returns only 4 records.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-geonames