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

tzf-rel

Probuf based binary timezone data distribution for tzf-rs

6 releases

0.0.2024-a Mar 16, 2024
0.0.2023-d Dec 29, 2023
0.0.2023-b Mar 26, 2023
0.0.2022-g1 Jan 28, 2023
0.0.2022-f5 Nov 20, 2022

#102 in Science

Download history 564/week @ 2024-01-22 485/week @ 2024-01-29 554/week @ 2024-02-05 536/week @ 2024-02-12 621/week @ 2024-02-19 1474/week @ 2024-02-26 1447/week @ 2024-03-04 1557/week @ 2024-03-11 1292/week @ 2024-03-18 1112/week @ 2024-03-25 1165/week @ 2024-04-01 1259/week @ 2024-04-08 1531/week @ 2024-04-15 1181/week @ 2024-04-22 1154/week @ 2024-04-29 932/week @ 2024-05-06

4,812 downloads per month
Used in 4 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