On Sat, 3 Dec 2016 06:10:27 -0800 (PST), MikiSoft wrote:
> Okay thanks for the answer, I'm still trying to wrap my head around
> it. I have no idea how to do this in Django and I'm still trying to
> learn about geographical and geometrical systems, but so far no
> avail...
>
just a very short summary, hoping this could help you someway.
a. planet Earth is a sphere; more precisely, it's an ellipsoid
slightly flattened at both Poles.
the most natural system allowing to precisely identify any
possible point laying on the surface of an ellipsoid is by
measuring two ANGLES, the latitude and the longitude.
this is a "geographical" system, and the natural unit of
measure for any geographical system are "degrees" as an
obvious consequence of using angular coordinates.
b. if we are not interested in mapping the whole planet
but just a very limited small portion of it (France,
or Argentina or New Zealand etc) we can use some
appropriate geometric projection, so to get a planar
representation of such small area. this is a "cartesian"
or "geometric" or "projected" system.
and in this case we are finally free to adopt more
familiars cartesian coordinates measured in metres
(or inches, or whatever else intending a length
measure).
but such an approach can safely work only if the
region projected on the plane is very narrow; a
commonly adopted requirement is to fix a maximum
extent of 6 longitude degrees, so to avoid introducing
too strong deformations and errors.
note: converting angular distances on a spheroid surface
into more conventional length units (meters, inches etc)
is a complex and hard mathematical problem, because no
fixed ratio exists.
just few practical examples to understand better:
near the Equator:
=================
point A long=11.5 lat=1.5
point B long=12.5 lat=2.5 distance is about 157 Km
somewhere midway between the Equator and the North Pole:
========================================================
point A long=11.5 lat=41.5
point B long=12.5 lat=42.5 distance is about 138 Km
near the North Pole:
====================
point A long=11.5 lat=81.5
point B long=12.5 lat=82.5 distance is about 112 Km
we are always measuring a diagonal on a square of
exactly 1 degree by 1 degree, but as you can easily
notice the metric distances show an impressive
dispersion depending on their actual positions.
short conclusion: if you are mainly interested into
supporting the planet as a whole (as it happens in aerial
or maritime navigation systems) using a geographical
system is the obvious best option.
but in this case you should be prepared to always use
complex and computationally heavy geodetic formulae
every time that you wish to get a precise distance
measure expressed in length units (meters, inches etc).
if instead you are mainly interested in supporting
just a single state or region (as it usually happens
in car or railway navigation systems) using an
appropriate projected-planar system will surely make
your life much easier.
bye Sandro