Code Monkey home page Code Monkey logo

Comments (1)

WolfgangFahl avatar WolfgangFahl commented on June 6, 2024

See the Berlin example below which is currently not in the way of our approach. The duplicate entries make sense if they have e.g. different geoNameIds. The duplicate other entries are acceptable for the time being. Please reopen if there is a strong need to fix.

Berlin example
query

select * from cityLookup where label='Berlin' order by pop desc,regionName

result

label level locationKind wikidataid name geoNameId regionId countryId pop lat lon partOfRegionId gndId regionName regionIso regionPop regionLat regionLon countryName countryIso CountryLat CountryLon
Berlin 5 City Q64 Berlin 6547383 Q64 Q183 3644826 53 13 Q183 4005728-8 Berlin DE-BE 3644826 53 13 Germany DE 51 10
Berlin 5 City Q64 Berlin 6547539 Q64 Q183 3644826 53 13 Q183 4005728-8 Berlin DE-BE 3644826 53 13 Germany DE 51 10
Berlin 5 City Q64 Berlin 2950159 Q64 Q183 3644826 53 13 Q183 4005728-8 Berlin DE-BE 3644826 53 13 Germany DE 51 10
Berlin 5 City Q64 Berlin 2950157 Q64 Q183 3644826 53 13 Q183 4005728-8 Berlin DE-BE 3644826 53 13 Germany DE 51 10
Berlin 5 City Q821199 Berlin 5282244 Q779 Q30 19866 42 -73 Q54236 Connecticut US-CT 3590886 42 -73 United States of America US 40 -99
Berlin 5 City Q821244 Berlin 5083330 Q759 Q30 10051 44 -71 Q54447 New Hampshire US-NH 1330608 44 -72 United States of America US 40 -99
Berlin 5 City Q1086827 Berlin 4500771 Q1408 Q30 7588 40 -75 Q497810 New Jersey US-NJ 8958013 40 -74 United States of America US 40 -99
Berlin 5 City Q1569850 Berlin 5245497 Q1537 Q30 5524 44 -89 Q500880 Wisconsin US-WI 5771337 44 -90 United States of America US 40 -99
Berlin 5 City Q1569850 Berlin 5245497 Q1537 Q30 5524 44 -89 Q500891 Wisconsin US-WI 5771337 44 -90 United States of America US 40 -99
Berlin 5 City Q3720748 Berlin Township 4500777 Q1408 Q30 5357 40 -75 Q497810 New Jersey US-NJ 8958013 40 -74 United States of America US 40 -99
Berlin 5 City Q614184 Berlin 4348460 Q1391 Q30 4485 38 -75 Q494072 Maryland US-MD 6045680 39 -77 United States of America US 40 -99
Berlin 5 City Q524646 Berlin 4930431 Q771 Q30 2866 42 -72 Q54093 Massachusetts US-MA 6794422 42 -72 United States of America US 40 -99
Berlin 5 City Q821215 Berlin 5108863 Q1384 Q30 1880 43 -73 Q156566 New York US-NY 19795791 43 -75 United States of America US 40 -99
Berlin 5 City Q4892348 Berlin Q1537 Q30 1145 44 -89 Q500891 Wisconsin US-WI 5771337 44 -90 United States of America US 40 -99
Berlin 5 City Q4892350 Berlin 5245512 Q1537 Q30 945 45 -90 Q505848 Wisconsin US-WI 5771337 44 -90 United States of America US 40 -99
Berlin 5 City Q142659 Berlin 5147132 Q1397 Q30 898 41 -82 Q485650 Ohio US-OH 11613423 40 -82 United States of America US 40 -99
Berlin 5 City Q2345711 Berlin 4182096 Q1428 Q30 551 31 -84 Q113005 Georgia US-GA 10214860 33 -84 United States of America US 40 -99
Berlin 5 City Q1930098 Lincoln 4864742 Q1546 Q30 162 42 -93 Q119372 Iowa US-IA 3046355 42 -93 United States of America US 40 -99
Berlin 5 City Q821229 Berlin 5058265 Q1207 Q30 34 46 -98 Q48891 North Dakota US-ND 756927 48 -100 United States of America US 40 -99
Berlin 5 City Q4892339 Berlin 4047787 Q173 Q30 34 -87 Q188204 Alabama US-AL 4858979 33 -87 United States of America US 40 -99
Berlin 5 City Q20144232 Berlín 8922112 Q60123 Q96 16 -93 Q20735271 Chiapas MX-CHP 5217908 16 -92 Mexico MX 23 -102
Berlin 5 City Q4892343 Berlin Q130840 Q258 -33 28 Q1002006 Eastern Cape ZA-EC 6676590 -32 27 South Africa ZA -29 24
Berlin 5 City Q2504681 Berlin 4233627 Q1204 Q30 40 -90 Q1204 Illinois US-IL 12859995 40 -89 United States of America US 40 -99
Berlin 5 City Q17509488 Berlin Q1558 Q30 38 -95 Q1558 Kansas US-KS 2911641 38 -98 United States of America US 40 -99
Berlin 5 City Q821190 Berlin 4283975 Q1603 Q30 39 -84 Q491945 Kentucky US-KY 4425092 38 -85 United States of America US 40 -99
Berlin 5 City Q4892354 Berlin 4530350 Q1649 Q30 35 -100 Q489332 Oklahoma US-OK 3911338 36 -98 United States of America US 40 -99
Berlin 5 City Q1130950 Berlin 4556518 Q1400 Q30 40 -79 Q490908 Pennsylvania US-PA 12802503 41 -78 United States of America US 40 -99
Berlin 5 City Q1130950 Berlin 4556518 Q1400 Q30 40 -79 Q490908 Pennsylvania US-PA 12802503 41 -78 United States of America US 40 -99
Berlin 5 City Q12303254 Berlin Q26061 Q35 55 10 Q21140 Southern Denmark DK-83 1223894 55 10 Denmark DK 56 10
Berlin 5 City Q21196360 Berlin Q1439 Q30 30 -96 Q156444 Texas US-TX 27469114 31 -100 United States of America US 40 -99
Berlin 5 City Q582242 Berlín 3587266 Q1122748 Q792 14 -89 Q67221821 Usulután Department SV-US 464883 13 -89 El Salvador SV 14 -89
Berlin 5 City Q582242 Berlín 3587266 Q1122748 Q792 14 -89 Q1122748 Usulután Department SV-US 464883 13 -89 El Salvador SV 14 -89
Berlin 5 City Q821245 Berlin Q16551 Q30 44 -73 Q505380 Vermont US-VT 626042 44 -73 United States of America US 40 -99
Berlin 5 City Q664745 Berlin 4798708 Q1371 Q30 39 -80 Q495147 West Virginia US-WV 1844128 39 -80 United States of America US 40 -99

from geograpy3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.