The United States Census Bureau regularly releases a geodatabase named TIGER. This dataset contains the 2010 census blocks, roughly equivalent to a city block. There are just over 11 million polygon features covering the United States, the District of Columbia, Puerto Rico, and the Island areas.
For full technical details on all TIGER 2010 products, see the TIGER technical documentation."
美国人口普查局定期发布一个名为TIGER的地理数据库。这个数据集包含2010年的人口普查街区,大致相当于一个城市街区。有刚刚超过1100万个多边形特征,覆盖美国、哥伦比亚特区、波多黎各和岛屿地区。
关于所有TIGER 2010产品的全部技术细节,请参见TIGER技术文件"。
Dataset Availability
2010-01-01T00:00:00 - 2010-01-02T00:00:00
Dataset Provider
Collection Snippet
ee.FeatureCollection("TIGER/2010/Blocks")
波段信息:
Name | Type | Description |
---|---|---|
blockce | String | 2010 Census tabulation block number |
blockid10 | String | Block identifier: a concatenation of 2010 Census state Federal Information Processing Standards (FIPS) code, county FIPS code, census tract code, and tabulation block number |
countyfp10 | String | County FIPS code |
housing10 | Double | 2010 Census number of housing units |
partflg | String | Partial block flag |
pop10 | Double | Population total as of 2010 census |
statefp10 | String | 2010 Census state FIPS code |
tractce10 | String | 2010 Census tract code |
使用说明:
The U.S. Census Bureau offers some of its public data in machine-readable format via an Application Programming Interface (API). All of the content, documentation, code and related materials made available to you through the API are subject to these terms and conditions.
引用:
For the creation of any reports, publications, new data sets, derived products, or services resulting from the data set, users should cite the US Census Bureau.
代码:
var dataset = ee.FeatureCollection('TIGER/2010/Blocks');
var visParams = {
min: 0.0,
max: 700.0,
palette: ['black', 'brown', 'yellow', 'orange', 'red']
};
// 将字符串转为数字类型
dataset = dataset.map(function (f) {
return f.set('pop10', ee.Number.parse(f.get('pop10')));
});
var image = ee.Image().float().paint(dataset, 'pop10');
Map.setCenter(-73.99172, 40.74101, 13);
Map.addLayer(image, visParams, 'TIGER/2010/Blocks');
Map.addLayer(dataset, null, 'for Inspector', false);