{
"geoJsonArray": [
{
"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/center-of-mass?eId={{eId}}&ckey={{ckey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"geoJsonArray": [
{
"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": "Point",
"coordinates": [
117.64551483165539,
35.50651034102511
]
}
]
}