TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

World.db - A Free Open World Database and Schema

50 点作者 jipumarino超过 12 年前

13 条评论

taybin超过 12 年前
This would be more interesting if it included the official country codes: <a href="http://en.wikipedia.org/wiki/Country_code" rel="nofollow">http://en.wikipedia.org/wiki/Country_code</a>
ig1超过 12 年前
What's the advantage of this over the geonames database (CC-BY) which seems to be more comprehensive ?
评论 #4748246 未加载
BoppreH超过 12 年前
If the Heroku app is up to date, there are only 62 countries and 126 cities and all names are in German. I think this should have been mentioned in the Github page.
评论 #4749025 未加载
kephra超过 12 年前
Why is this a ruby project, and not just a plain files to create the tables, and insert the values?<p>Also, please teach him something about database normalization. e.g. capital should not be a flag of cities, but a foreign key of regions and countries. Cities, Regions and countries should be combined into one table, with a foreign keys pointing up and down the chain, from world down to suburb level.
评论 #4749485 未加载
thomasbk超过 12 年前
Based on the fact that this database is free and public domain, apparently it's possible for such data to have a restrictive license. So, I'm wonder what the sources of this data are? Is it compiled from public resources from the governments listed, determined and measured by hand by visiting the countries (with a GPS device in hand :P), or something else? I couldn't find this information on github.
lardissone超过 12 年前
Country names are incorrect. Totally inaccurate.<p>See my issue report: <a href="https://github.com/geraldb/world.db/issues/1" rel="nofollow">https://github.com/geraldb/world.db/issues/1</a>
gulbrandr超过 12 年前
related: <a href="http://mledoze.github.com/countries/" rel="nofollow">http://mledoze.github.com/countries/</a>
coderholic超过 12 年前
Here's a (django specific) alternative: <a href="https://github.com/coderholic/django-cities" rel="nofollow">https://github.com/coderholic/django-cities</a>
ewheeler超过 12 年前
doesn't include city names, but here is a python script that pulls up-to-date country names, codes, currencies, etc from standards bodies: <a href="https://github.com/ewheeler/current-countries-of-earth" rel="nofollow">https://github.com/ewheeler/current-countries-of-earth</a>
jre超过 12 年前
How hard would it be to generate that kind of data from Wikipedia ?
评论 #4748504 未加载
of超过 12 年前
Shouldn't there be location info for each city? A long/lat field?
irfan超过 12 年前
quite incomplete. why not ask github users to fork, contribute as fixtures &#38; send pull request
dhruvbird超过 12 年前
Nice - much needed!