{
  "service": "tzq",
  "description": "The IANA time zone at a latitude and longitude, like America/Vancouver, from timezone-boundary-builder's boundaries. The same file and the same answers as the Tides app's lookup.",
  "usage": [
    "GET /{lat},{lon}         -- the time zone at a point, e.g. /49.28,-123.12",
    "GET /?lat={lat}&lon={lon} -- the same",
    "GET /sources             -- the boundary file tzq ships, and its credit"
  ],
  "answer": {
    "timeZone": "An IANA name, like America/Vancouver. Store the name, not an offset: an offset changes with daylight saving, and the name is what a time zone database turns into one for any date.",
    "location": "The point asked about, rounded to 4 decimals (about 11 m). The zone is the one there.",
    "oceans": "Every point has a zone. At sea it is the nautical one, like Etc/GMT+8, whose sign is POSIX's: Etc/GMT+8 is 8 hours behind UTC.",
    "available": "Always true for a valid point. A point out of range is a 400."
  },
  "sources": [
    "timezone-boundary-builder 2024a, with oceans, through ZoneDetect at about 20 m: ODbL. Ships in the Worker."
  ],
  "auth": "None. CORS is open, so a browser can call this directly.",
  "terms": "Free, unsupported, not for volume, and as is. Send a User-Agent that names your app. https://almanac.gshaw.ca/#use",
  "repository": "https://github.com/gshaw/almanac/tree/main/services/tzq"
}
