检索人口密度数据

发布于 2024-09-15 16:40:31 字数 320 浏览 2 评论 0原文

我需要弄清楚某个特定位置是否被视为城市或农村。我认为最好的方法是查看城市/州或省/国家组合的人口密度。

更有趣的是我们用它来进行数据挖掘。一般来说,可以执行此操作的映射 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

自由范儿 2024-09-22 16:40:31

是否有任何可供下载的数据库可供我用来检索此数据,或者是否有真正允许数据挖掘的 Web 服务?

对于美国

您可能需要查看按 1930 年至 2000 年十年间对美国本土 1 公里人口估计进行网格化。 (更多信息


对于世界

看起来您想要类似网格人口的东西世界版本 3 (GPWv3) 和全球城乡测绘项目 (GRUMP) 数据集。

有一个独立的SEDAC地图客户端数据下载(这里有一些Excel 格式的城乡估算数据)。

您可以使用人口估算服务获取指定区域内的人口估算

人口估算服务功能:

该服务可通过许多在线地图工具和客户端使用的三个标准协议进行访问:开放地理空间联盟 (OGC) Web 处理服务 (WPS) 标准、表述性状态传输 (REST) 接口和简单对象访问协议(SOAP)接口。 uDig 等基于标准的客户端能够使用 OGC WPS 提交请求。 ESRI ArcGIS 软件的用户可以通过 SOAP 提交请求。 REST 接口旨在与轻量级 JavaScript 客户端一起使用。

为每个提供的多边形返回的参数统计数据包括计数(分析中使用的网格单元数)、最小人口计数、最大人口计数、人口计数范围、平均人口计数和人口计数标准差。
服务结果中包含两种数据质量衡量标准。第一个度量反映了输入数据的精度,第二个度量表示与基础输入数据相比,所请求的多边形面积太小,无法生成可靠的人口统计数据。

访问:

要访问人口估算服务,用户需要使用在线地图客户端或地理信息系统 (GIS) 软件包,该软件包通过三种受支持的协议之一支持空间查询。服务接口位于:

网络处理服务(WPS)

http://sedac.ciesin.columbia.edu/ wps/WebProcessingService?Request=GetCapability&Service=WPS

REST/SOAP 服务
http://sedac.ciesin.columbia.edu/mapservices /arcgis/rest/services/sedac/GPW/GPServer

Are there any databases ready to download which I can use to retrieve this data, or web services that actually allow data mining?

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

Population Estimation Service Features:

The service is accessible through three standard protocols used by many online map tools and clients: the Open Geospatial Consortium (OGC) Web Processing Service (WPS) standard, a Representational State Transfer (REST) interface, and a Simple Object Access Protocol (SOAP) interface. Standards-based clients such as uDig are able to submit requests using the OGC WPS. Users of ArcGIS software from ESRI can submit requests through SOAP. The REST interface is intended for use with lightweight javascript clients.

The parametric statistics returned for each supplied polygon include the count (number of grid cells used in the analysis), minimum population count, maximum population count, range of population counts, mean population counts, and standard deviation of population counts.
Two measures of data quality are included in the service results. The first measure reflects the precision of the input data and the second indicates when the requested polygons are too small in area compared with the underlying input data to produce reliable population statistics.

Access:

To access the Population Estimation Service, users need to work with an online map client or Geographic Information System (GIS) software package that supports spatial queries through one of the three supported protocols. The service interfaces are available at:

Web Processing Service (WPS)

http://sedac.ciesin.columbia.edu/wps/WebProcessingService?Request=GetCapabilities&Service=WPS

REST/SOAP Services
http://sedac.ciesin.columbia.edu/mapservices/arcgis/rest/services/sedac/GPW/GPServer

颜漓半夏 2024-09-22 16:40:31

我不知道是否有任何免费的现成数据库可以提供这些信息。

您可以下载 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.

羁拥 2024-09-22 16:40:31

有一次我使用查询“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/

云裳 2024-09-22 16:40:31

这不是免费的,但请查看农村城市郊区。至少您会找到一个很好的简短解释以及需要考虑的因素。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文