I'm working on simple GTS system  and one of the task is calculate distance.  Usually  GPS tracker sends coordinates as Lon , Lat.  It is easy to understands by navigator,  but not a citizen. Brute force conversation requires knowledge of geography, mathematic etc.  Django   and PostGIS have simple and elegant solution:    example model:   from django.contrib.gis.db import models as gismodels class Points(models.Model):      """ Simple class with one Point only """        Point    = gismodels.PointField()     view.py   pointlist is array of the points containing geo data:    for point in pointlist:              plist.append(point.Point)          try:              linestring = LineString(plist)              linestring.srid=4326              linestring.transform(22186)    ...