检索人口密度数据
我需要弄清楚某个特定位置是否被视为城市或农村。我认为最好的方法是查看城市/州或省/国家组合的人口密度。
更有趣的是我们用它来进行数据挖掘。一般来说,可以执行此操作的映射 API 要求每个请求必须响应单个用户操作。这不符合该标准...使用 Web 服务,我们将为任何单个用户操作发出数百个 Web 服务调用。所以我认为我们不能真正使用像 Google Maps API 这样的东西。
问题是,有什么可用的?是否有任何可供下载的数据库可供我用来检索此数据,或者是否有真正允许数据挖掘的 Web 服务?我正在使用 PHP,尽管编程语言并不重要。我确信如果我能获取数据,我就能让它与 PHP 一起使用。
I need to figure out whether not a given location is considered urban or rural. I take it that the best way to do this is by looking at the population density of the city/state or province/country combination.
The kicker is that we're using this for data mining. Generally, mapping APIs that could do this have a requirement that each request must be in response to a single user action. This doesn't fit that criteria...using a web service, we would be making hundreds of web service calls for any single user action. So I think we can't really use something like the Google Maps API.
The problem is, what is available? Are there any databases ready to download which I can use to retrieve this data, or web services that actually allow data mining? I am using PHP, though the programming language doesn't really matter. I'm sure if I can get the data, I can get it to work with PHP.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
对于美国:
您可能需要查看按 1930 年至 2000 年十年间对美国本土 1 公里人口估计进行网格化。 (更多信息)
对于世界:
看起来您想要类似网格人口的东西世界版本 3 (GPWv3) 和全球城乡测绘项目 (GRUMP) 数据集。
有一个独立的SEDAC地图客户端和数据下载(这里有一些Excel 格式的城乡估算数据)。
您可以使用人口估算服务获取指定区域内的人口估算
For the US:
You might want to take a look at the gridded 1 km population estimates for the conterminous United States by decade from 1930 - 2000. (some more info)
For the World:
It looks like you want something like the Gridded Population of the World, version 3 (GPWv3), and the Global Rural-Urban Mapping Project (GRUMP) datasets.
There's a stand alone SEDAC Map Client and data downloads (here's some urban rural estimates data in Excel format).
You can obtain population estimates within a defined region using the Population Estimation Service
我不知道是否有任何免费的现成数据库可以提供这些信息。
您可以下载 DBpedia 数据集,特别是 infobox 数据集,并提取人口/位置数据从那。
I don't know if there are any freely available ready-made databases providing this information out there.
You could download a DBpedia dataset, specifically the infobox dataset, and extract population/location data from that.
有一次我使用查询“city filetype:sql”浏览 Google,发现非常有趣的数据库,其中包含大约 4000 个最大的城市和其他很酷的地理数据。
看看这里:http://www.dbis.informatik.uni-goettingen。德/蒙迪艾尔/
Once I was browsing Google using query "city filetype:sql" and found very interesting database containing about 4000 largest cities and other cool geographical data.
Have a look here: http://www.dbis.informatik.uni-goettingen.de/Mondial/
这不是免费的,但请查看农村城市郊区。至少您会找到一个很好的简短解释以及需要考虑的因素。
This is not free, but take a look at Rural Urban Suburban. At a minimum you will find a good brief explanation and what factors to consider.
这可能有用。这对我有用。 http://www.geonames.org/export/wikipedia-webservice.html
This could be useful. It worked for me. http://www.geonames.org/export/wikipedia-webservice.html