Calculate the center point of multiple latitude/longitude coordinate pairs

后端 未结 21 1520
暖寄归人
暖寄归人 2020-11-27 09:27

Given a set of latitude and longitude points, how can I calculate the latitude and longitude of the center point of that set (aka a point that would center a view on all poi

21条回答
  •  情深已故
    2020-11-27 09:39

    If you wish to take into account the ellipsoid being used you can find the formulae here http://www.ordnancesurvey.co.uk/oswebsite/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf

    see Annexe B

    The document contains lots of other useful stuff

    B

提交回复
热议问题