#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

#93 in Science

Download history 526/week @ 2024-02-01 542/week @ 2024-02-08 563/week @ 2024-02-15 1032/week @ 2024-02-22 1490/week @ 2024-02-29 1465/week @ 2024-03-07 1439/week @ 2024-03-14 1261/week @ 2024-03-21 1017/week @ 2024-03-28 1204/week @ 2024-04-04 1377/week @ 2024-04-11 1526/week @ 2024-04-18 1189/week @ 2024-04-25 936/week @ 2024-05-02 1115/week @ 2024-05-09 999/week @ 2024-05-16

4,496 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