Hi Pierce & Richard, Thanks for your replies.
On Wed, Dec 05, 2018 at 10:24:18AM +0800, Pierce Ng wrote: > On Tue, Dec 04, 2018 at 10:21:20AM +0100, Alistair Grant wrote: > > Does anyone know of a library for processing GPS coordinates? > > > > What I'm looking for are things like: > > > > - Parsing from and printing to various string formats (HMS, NESW, decimal) > > - Distance between two points > > - etc. > > SQLite-based possibilities: > > - Spatialite: https://www.gaia-gis.it/fossil/libspatialite/index > - R*Tree: https://sqlite.org/rtree.html > - GeoPoly: https://sqlite.org/geopoly.html On Wed, Dec 05, 2018 at 06:44:35PM +1300, Richard O'Keefe wrote: > As Dershowitz and Reingold showed in their book "Calendrical Calculations", > converting from UTC to several calendars needs latitude, longitude, and > elevation. ISO 6709 is the relevant standard: > https://en.wikipedia.org/wiki/ISO_6709 My camera uses D M S (0 deg 0' 0.00", 0 deg 0' 0.00") so I'll use that initially, but I'll definitely add links in the comments and make sure that support for other formats can be added. I'm not doing any database work at the moment (storing results in STON files for now), but will also add the links to the class comments. Thanks again, Alistair