Geojson格式数据
官网:http://geojson.cn/
GeoJSON是一种对各种地理数据结构进行编码的格式,基于Javascript 对象表示法的地理空间信息数据交换格式。
GeoJSON 支持的几何类型有:点(Point),线(LineString), 面(Polygon),多点(MultiPoint),多线(MultiLineString)及多面(MultiPolygon)。 几何类型数据及其他属性组成Feature 对象,多个 Feature 组成 FeatureCollection 对象。
点数据
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]
},
"properties": {
"name": "Dinagat Islands"
}
}
面数据
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [[125.6, 10.1],[135.6, 10.1],[145.6, 10.1]]
},
"properties": {
"name": "Dinagat Islands"
}
}
geojson 在线生成测试地址分享:
http://geojson.io/