timezones-api

A Datasette-powered API for finding the time zone for a latitude/longitude point (by simonw)

Timezones-api Alternatives

Similar projects and alternatives to timezones-api based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better timezones-api alternative or higher similarity.

timezones-api reviews and mentions

Posts with mentions or reviews of timezones-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-28.
  • SpatiaLite: Library extending SQLite to support Spatial SQL capabilities
    3 projects | news.ycombinator.com | 28 Jan 2024
    I wrote a tutorial on SpatiaLite here: https://datasette.io/tutorials/spatialite - "Building a location to time zone API with SpatiaLite"

    It shows how to use SpatiaLite + Datasette to build an API that can tell you what timezone a latitude/longitude point is in, using data derived from OpenStreetMap via https://github.com/evansiroky/timezone-boundary-builder

    Here's a demo: https://timezones.datasette.io/timezones/by_point?longitude=... - add ".json" to the URL for the JSON output.

  • SpatiaLite: A Spatial Extension to SQLite
    3 projects | news.ycombinator.com | 3 Apr 2021
    It had been quite a while since a major release, but then SpatiaLite 5.0 came out a couple of months ago with some very significant new features - the K-Nearest-Neighbor stuff is particularly interesting. https://www.gaia-gis.it/fossil/libspatialite/wiki?name=5.0.0...

    I've built a few fun demos using SpatiaLite and Datasette. Here's an API that tells you the timezone for a latitude longitude point:

    https://timezones-api.datasette.io/timezones/by_point?longit... - implementation here: https://github.com/simonw/timezones-api

    And here's the same thing for which US county a point is within: https://us-counties.datasette.io/counties/county_for_latitud... - implementation here: https://github.com/simonw/us-counties-datasette

    I've also built an experimental Datasette plugin that lets you draw a shape on a Leaflet map to generate a GeoJSON polygon, then uses SpatiaLite to show you geometries that are contained by that drawn polygon. I wrote about that here: https://simonwillison.net/2021/Jan/24/drawing-shapes-spatial...

Stats

Basic timezones-api repo stats
2
27
0.0
over 1 year ago

The primary programming language of timezones-api is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com