#timezone #distribution #data #binary-data #probuf #tzf #tzf-rs

tzf-rel

Probuf based binary timezone data distribution for tzf-rs

8 releases

0.0.2025-a Feb 1, 2025
0.0.2024-b Sep 10, 2024
0.0.2024-a Mar 16, 2024
0.0.2023-d Dec 29, 2023
0.0.2022-f5 Nov 20, 2022

#74 in Geospatial

Download history 3284/week @ 2024-11-17 1971/week @ 2024-11-24 2946/week @ 2024-12-01 3038/week @ 2024-12-08 2020/week @ 2024-12-15 1740/week @ 2024-12-22 1317/week @ 2024-12-29 1735/week @ 2025-01-05 1745/week @ 2025-01-12 1687/week @ 2025-01-19 2554/week @ 2025-01-26 3357/week @ 2025-02-02 3056/week @ 2025-02-09 2648/week @ 2025-02-16 3509/week @ 2025-02-23 2507/week @ 2025-03-02

11,939 downloads per month
Used in 6 crates (via tzf-rs)

ODbL-1.0

9.5MB

tzf's preprocessed timezone data

Update Data Steps

CI

Data build in GitHub Actions.

Local build

  1. Install CLI tool
# install tools
go install github.com/ringsaturn/tzf/cmd/geojson2tzpb@latest
go install github.com/ringsaturn/tzf/cmd/reducetzpb@latest
go install github.com/ringsaturn/tzf/cmd/compresstzpb@latest
go install github.com/ringsaturn/tzf/cmd/preindextzpb@latest
  1. Set data version to build(Below steps need this environment var)
export TIMEZONE_BOUNDARY_VERSION=2023b
  1. Download data
# download data
wget https://github.com/evansiroky/timezone-boundary-builder/releases/download/${TIMEZONE_BOUNDARY_VERSION}/timezones-with-oceans.geojson.zip
unzip timezones-with-oceans.geojson.zip
  1. Make data
geojson2tzpb combined-with-oceans.json | xargs reducetzpb | xargs compresstzpb
preindextzpb combined-with-oceans.reduce.pb

References

No runtime deps