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

tzf-rel

Probuf based binary timezone data distribution for tzf-rs

7 releases

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

#69 in Geospatial

Download history 1383/week @ 2024-08-17 1442/week @ 2024-08-24 1317/week @ 2024-08-31 2178/week @ 2024-09-07 2210/week @ 2024-09-14 1824/week @ 2024-09-21 1589/week @ 2024-09-28 2315/week @ 2024-10-05 3694/week @ 2024-10-12 3683/week @ 2024-10-19 2942/week @ 2024-10-26 2341/week @ 2024-11-02 2525/week @ 2024-11-09 3255/week @ 2024-11-16 2031/week @ 2024-11-23 3033/week @ 2024-11-30

11,342 downloads per month
Used in 5 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