"type": "FeatureCollection",
时间: 2024-11-21 21:19:23 浏览: 12
"Type": "FeatureCollection"是一个地理信息数据结构,通常在JSON(JavaScript Object Notation)中用于表示一组特征(feature)的集合。它是由一系列包含地理位置信息(如坐标、属性等)的独立"Feature"对象组成的。每个Feature都有自己的标识符(id)、几何形状描述(geometry)以及相关的属性描述(properties)。FeatureCollection广泛应用于地图服务、数据分析软件中,以便组织和展示空间数据。
例如:
```json
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "building1",
"geometry": { "type": "Point", "coordinates": [105.9708, 39.9154] },
"properties": { "name": "Building A", "height": 50 }
},
{
"type": "Feature",
"id": "park2",
"geometry": { "type": "Polygon", "coordinates": ... },
"properties": { "name": "Park B", "area": 10000 }
}
]
}
```
阅读全文