初次提交
This commit is contained in:
102
data/sample/sample_points.geojson
Normal file
102
data/sample/sample_points.geojson
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "sample_points",
|
||||
"crs": {
|
||||
"type": "name",
|
||||
"properties": {
|
||||
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
|
||||
}
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 1,
|
||||
"properties": {
|
||||
"id": 1,
|
||||
"name": "北京",
|
||||
"city": "Beijing",
|
||||
"value": 10.5,
|
||||
"category": "A"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
116.4074,
|
||||
39.9042
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 2,
|
||||
"properties": {
|
||||
"id": 2,
|
||||
"name": "上海",
|
||||
"city": "Shanghai",
|
||||
"value": 20.0,
|
||||
"category": "B"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
121.4737,
|
||||
31.2304
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 3,
|
||||
"properties": {
|
||||
"id": 3,
|
||||
"name": "广州",
|
||||
"city": "Guangzhou",
|
||||
"value": 15.3,
|
||||
"category": "A"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
113.2644,
|
||||
23.1291
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 4,
|
||||
"properties": {
|
||||
"id": 4,
|
||||
"name": "成都",
|
||||
"city": "Chengdu",
|
||||
"value": 8.7,
|
||||
"category": "C"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
104.0668,
|
||||
30.5728
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 5,
|
||||
"properties": {
|
||||
"id": 5,
|
||||
"name": "武汉",
|
||||
"city": "Wuhan",
|
||||
"value": 12.1,
|
||||
"category": "B"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [
|
||||
114.3054,
|
||||
30.5931
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
120
data/sample/sample_regions.geojson
Normal file
120
data/sample/sample_regions.geojson
Normal file
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "sample_regions",
|
||||
"crs": {
|
||||
"type": "name",
|
||||
"properties": {
|
||||
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
|
||||
}
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 1,
|
||||
"properties": {
|
||||
"region_id": 1,
|
||||
"name": "华北",
|
||||
"area_km2": 1540000
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
110.0,
|
||||
36.0
|
||||
],
|
||||
[
|
||||
120.0,
|
||||
36.0
|
||||
],
|
||||
[
|
||||
120.0,
|
||||
42.5
|
||||
],
|
||||
[
|
||||
110.0,
|
||||
42.5
|
||||
],
|
||||
[
|
||||
110.0,
|
||||
36.0
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 2,
|
||||
"properties": {
|
||||
"region_id": 2,
|
||||
"name": "华东",
|
||||
"area_km2": 790000
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
118.0,
|
||||
29.0
|
||||
],
|
||||
[
|
||||
122.5,
|
||||
29.0
|
||||
],
|
||||
[
|
||||
122.5,
|
||||
35.0
|
||||
],
|
||||
[
|
||||
118.0,
|
||||
35.0
|
||||
],
|
||||
[
|
||||
118.0,
|
||||
29.0
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"id": 3,
|
||||
"properties": {
|
||||
"region_id": 3,
|
||||
"name": "华南",
|
||||
"area_km2": 450000
|
||||
},
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
110.0,
|
||||
21.0
|
||||
],
|
||||
[
|
||||
117.0,
|
||||
21.0
|
||||
],
|
||||
[
|
||||
117.0,
|
||||
25.0
|
||||
],
|
||||
[
|
||||
110.0,
|
||||
25.0
|
||||
],
|
||||
[
|
||||
110.0,
|
||||
21.0
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user