{
"gridType": "hex",
"cellSize":500,
"cross":"all",
"polygon": {
"type": "Polygon",
"coordinates": [
[
[
117.605087,
35.506362
],
[
117.640975,
35.531721
],
[
117.681202,
35.506684
],
[
117.659511,
35.481317
],
[
117.605087,
35.506362
]
]
]
}
}curl --location -g --request POST 'http://datam.olmap.cn/dm/v1/api/geo-calculations/polygon2grid?eId={{eId}}&ckey={{ckey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"gridType": "hex",
"cellSize":500,
"cross":"all",
"polygon": {
"type": "Polygon",
"coordinates": [
[
[
117.605087,
35.506362
],
[
117.640975,
35.531721
],
[
117.681202,
35.506684
],
[
117.659511,
35.481317
],
[
117.605087,
35.506362
]
]
]
}
}'{
"success": true,
"err": "",
"msg": "操作成功",
"data": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
117.60768170718342,
35.50516795984476
],
[
117.60783468961034,
35.50509755993144
],
[
117.60783468961034,
35.50516795984476
],
[
117.60768170718342,
35.50516795984476
]
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
117.605087,
35.506362
],
[
117.60768170718342,
35.50516795984476
],
[
117.60783468961034,
35.50516795984476
],
[
117.60783468961034,
35.50830355876139
],
[
117.605087,
35.506362
]
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
117.60783468961034,
35.50509755993145
],
[
117.6133567026956,
35.50255642334244
],
[
117.6133567026956,
35.50516795984476
],
[
117.60783468961034,
35.50516795984476
],
[
117.60783468961034,
35.50509755993145
]
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
117.60783468961034,
35.50516795984476
],
[
117.6133567026956,
35.50516795984476
],
[
117.6133567026956,
35.509664561663385
],
[
117.60976077786883,
35.509664561663385
],
[
117.60783468961034,
35.50830355876139
],
[
117.60783468961034,
35.50516795984476
]
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
117.60976077786881,
35.509664561663385
],
[
117.6133567026956,