| Crates.io | tzf-rel |
| lib.rs | tzf-rel |
| version | 0.0.2025-b |
| created_at | 2022-11-20 14:50:52.196206+00 |
| updated_at | 2025-03-24 10:54:14.278509+00 |
| description | Probuf based binary timezone data distribution for tzf-rs |
| homepage | https://github.com/ringsaturn/tzf-rel |
| repository | https://github.com/ringsaturn/tzf-rel |
| max_upload_size | |
| id | 719157 |
| size | 17,884,038 |
Data build in GitHub Actions.
# 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
export TIMEZONE_BOUNDARY_VERSION=2023b
# 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
geojson2tzpb combined-with-oceans.json | xargs reducetzpb | xargs compresstzpb
preindextzpb combined-with-oceans.reduce.bin
Protocol Buffers define: https://github.com/ringsaturn/tzf/blob/main/pb/tzinfo.proto
Maintain tools
To view data in GeoJSON format(which is more convenient to show on map), see https://github.com/ringsaturn/tzf-server
Data Usage examples