Google App Engine

Django Calculate Latitude Longitude Distance with Native (Pure) Python Library

  • Posted on: 15 November 2017
  • By: oon
Django Calculate Latitude Longitude Distance with Native (Pure) Python Library

If you try to find library on Google about how python (or Django, Flask) can easily calculate latitude longitude points distance, you probably got geopy or pyproj.

Yes, previously I used pyproj [1], because years ago I have quite alot experience with Proj4 library [2]. And it's quite hard to use pyproj in windows, you have to install SDK an so on.

What a great project (pyproj) because of the precision of its calculation.

don't belive me? it's ok, you can visit this geodesic calculation [3] to prove it. Or follow this discussion [6].