calculate the latitude and longitude of the center point of that set
09-25-2018, 02:19 PM
Post: #1
 MullenJohn Junior Member Posts: 47 Joined: Sep 2017
calculate the latitude and longitude of the center point of that set
Has anyone used the programming feature of HP Prime to calculate the latitude and longitude of the center point of a set of multiple Longitudes and Latitudes (aka a point that would center a view on all points.

Thanks - Cheers!
09-25-2018, 05:18 PM
Post: #2
 ijabbott Senior Member Posts: 1,297 Joined: Jul 2015
RE: calculate the latitude and longitude of the center point of that set
(09-25-2018 02:19 PM)MullenJohn Wrote:  Has anyone used the programming feature of HP Prime to calculate the latitude and longitude of the center point of a set of multiple Longitudes and Latitudes (aka a point that would center a view on all points.

It's not always possible unless the points all lie on the same side of a great circle.

— Ian Abbott
09-25-2018, 06:12 PM
Post: #3
 ColinJDenman Member Posts: 102 Joined: Feb 2014
RE: calculate the latitude and longitude of the center point of that set
(09-25-2018 05:18 PM)ijabbott Wrote:  It's not always possible unless the points all lie on the same side of a great circle.

Presumbaly the general case is that there are two points, one antipodal to the other.
One case might be preferred in your condition above, though the degenerate case of all points on that great circle would make both points valid? In the case of a random distribution of coordinates, I would guess there might be no simple preferred solution. Perhaps least mean squares summation of the coordinates from the solutions might distinguish one as preferable.

Note that I am not a geographer
09-25-2018, 07:03 PM
Post: #4
 ijabbott Senior Member Posts: 1,297 Joined: Jul 2015
RE: calculate the latitude and longitude of the center point of that set
(09-25-2018 06:12 PM)ColinJDenman Wrote:
(09-25-2018 05:18 PM)ijabbott Wrote:  It's not always possible unless the points all lie on the same side of a great circle.

Presumbaly the general case is that there are two points, one antipodal to the other.
One case might be preferred in your condition above, though the degenerate case of all points on that great circle would make both points valid? In the case of a random distribution of coordinates, I would guess there might be no simple preferred solution. Perhaps least mean squares summation of the coordinates from the solutions might distinguish one as preferable.

In general, for a "random" set of points or a set of points lying on a great circle will have two antipodal "average" points as you say, but if the points form a regular (or semiregular) polyhedron, you can't pick just two points.

— Ian Abbott
09-25-2018, 08:06 PM
Post: #5
 SlideRule Senior Member Posts: 1,471 Joined: Dec 2013
RE: calculate the latitude and longitude of the center point of that set
Perhaps CARTO Blog - Center of Points in Geometric Coordinates is an appropriate physical representation?

BEST!
SlideRule
09-25-2018, 10:13 PM
Post: #6
 ColinJDenman Member Posts: 102 Joined: Feb 2014
RE: calculate the latitude and longitude of the center point of that set
(09-25-2018 08:06 PM)SlideRule Wrote:  Perhaps CARTO Blog - Center of Points in Geometric Coordinates is an appropriate physical representation?

Another new bookmark to explore. Thank you.
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)