timezone-boundary-builder
LGV_TZ_Lookup
Our great sponsors
timezone-boundary-builder | LGV_TZ_Lookup | |
---|---|---|
7 | 3 | |
818 | 2 | |
- | - | |
8.0 | 7.4 | |
about 1 month ago | 7 months ago | |
JavaScript | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
timezone-boundary-builder
-
Falsehoods programmers believe about time zones
They don't really bother me. They aren't AI spam, and some folks may enjoy them. It's pretty easy to not click on a link, for me.
TZ are a fun project. I found that it's difficult to translate a long/lat into a TZ ID, so I wrote this[0].
Works a charm. It's based on the Timezone Boundary Builder[1].
[0] https://github.com/LittleGreenViper/LGV_TZ_Lookup
[1] https://github.com/evansiroky/timezone-boundary-builder
-
SpatiaLite: Library extending SQLite to support Spatial SQL capabilities
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.
- Does a country's legislated time zones extend to the limit of its territorial sea or its exclusive economic zone?
-
Falsehoods programmers believe about time
I have never had an opportunity to deploy this tool, but here's a program for generating a TZ shapefile from OpenStreetMap data:
https://github.com/evansiroky/timezone-boundary-builder
In principle a calendar program could use its output to perform GIS lookups of locations then use the tzinfo DB to get the correct timezone at the given location and specified time.
-
How can I get a user's timezone based on location and create a DateTime() based on that timezone?
You could ask google. Amazon or Microsoft probably offer similar APIs. Or you can do it yourself. It's a very complicated topic, though.
-
Big problems at the timezone database
There is a separate timezone boundary builder which maps geography to timezones using a shapefile, and the shapefile is >35MB uncompressed. By comparison the latest tzdata is 1.2M uncompressed.
- how do i konw the datum for a country? in postgis?
LGV_TZ_Lookup
-
Falsehoods programmers believe about time zones
They don't really bother me. They aren't AI spam, and some folks may enjoy them. It's pretty easy to not click on a link, for me.
TZ are a fun project. I found that it's difficult to translate a long/lat into a TZ ID, so I wrote this[0].
Works a charm. It's based on the Timezone Boundary Builder[1].
[0] https://github.com/LittleGreenViper/LGV_TZ_Lookup
[1] https://github.com/evansiroky/timezone-boundary-builder
-
How to Write a Great Readme
I generally have a βWhat Problem Does This Solve?β section in my READMEs.
https://github.com/LittleGreenViper/LGV_TZ_Lookup#what-probl...
https://github.com/LittleGreenViper/LGV_MeetingServer#what-p...
https://github.com/RiftValleySoftware/RVS_Spinner#what-probl...
https://github.com/RiftValleySoftware/RVS_BlueThoth#what-pro...
https://github.com/RiftValleySoftware/RVS_PersistentPrefs#wh...
etc.
-
The Asymmetry of Open Source
Just because I'm a completionist, here's what I scared up[0].
I decided to make it a server, instead of a device library, because I can just run it once on the source data, that way, and I don't need to keep running it.
In any case, it's PHP and LAMP, so no one on this forum will like it, which suits me just fine. Figured I'd post it, anyway, for Ss and Gs.
[0] https://github.com/LittleGreenViper/LGV_TZ_Lookup
What are some alternatives?
geolocator - A utility for getting geo-location information via HTML5 and IP look-ups, geocoding, address look-ups, distance and durations, timezone information and more...
RVS_PersistentPrefs - A Simple Class For Basic Persistent Storage
OpenRailwayMap - An OpenStreetMap-based project for creating a map of the world's railway infrastructure.
revenut-web - SaaS metrics in a nutshell
openinframap - Open Infrastructure Map
undb - π Private first, unified, self-hosted no code database.
js-joda - :clock2: Immutable date and time library for javascript
LGV_MeetingServer - An aggregation server for meeting list servers.
awesome-falsehood - π± Falsehoods Programmers Believe in
player - UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
appsmith - Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.