Get the latest tech news
Show HN: A Simple Server to Match Long/Lat to a TimeZone
Server for Matching Long/Lat to Timezone. Contribute to LittleGreenViper/LGV_TZ_Lookup development by creating an account on GitHub.
We provide a very basic PHP server that builds a simple database from the data in the massive shapefile (The GeoJSON variant that results from the timezone boundary builder. The database is deliberately "dumb," with a view towards making the project as flexible as possible, and lookups fast and easy. From a usage standpoint, you simply send in a longitude/latitude pair, as a simple HTTP GET, and you will receive a "raw" string response, with the TZ name of the timezone that applies to the location.
Or read this on Hacker News