#timezone #data #step #tzf #tzf-rs

tzf-rel

Probuf based binary timezone data distribution for tzf-rs

9 releases

0.0.2025-b Mar 24, 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

#109 in Geospatial

Download history 1500/week @ 2024-12-27 1707/week @ 2025-01-03 1734/week @ 2025-01-10 1514/week @ 2025-01-17 2252/week @ 2025-01-24 3458/week @ 2025-01-31 3286/week @ 2025-02-07 2275/week @ 2025-02-14 3941/week @ 2025-02-21 2616/week @ 2025-02-28 1981/week @ 2025-03-07 1691/week @ 2025-03-14 1889/week @ 2025-03-21 2163/week @ 2025-03-28 1672/week @ 2025-04-04 1305/week @ 2025-04-11

7,282 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.bin

References

No runtime deps