在geojson数据坐标点中如何获取中心点

在geojson数据坐标点中如何获取中心点,如下面显示数据,获取coordinates数组中坐标的中心点

{
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          30.55459965000017,
          -2.400627542999871
        ],
        [
          30.41579675300011,
          -2.851659443999836
        ],
        [
          30.82548750800015,
          -2.9785767609999
        ],
        [
          30.799752645000183,
          -3.274579365999841
        ],
        [
          30.46892012600017,
          -3.513014424999909
        ],
        [
          30.00300541100006,
          -4.271934508999834
        ],
        [
          29.654353124914053,
          -4.450591078822441
        ],
        [
          29.206678641706503,
          -3.334424246383435
        ],
        [
          29.015365438000117,
          -2.720711364999943
        ],
        [
          29.697546021000107,
          -2.808251240999923
        ],
        [
          29.931691935000117,
          -2.316911722999919
        ],
        [
          30.55459965000017,
          -2.400627542999871
        ]
      ]
    ]
  }
}

https://blog.csdn.net/naipeng/article/details/53765674