CompressedTopoTimezones combines shared-edge deduplication with polyline
coordinate compression. Shared edge point sequences and inline segments are
stored as polyline bytes instead of repeated Point messages, significantly
reducing file size on top of the deduplication savings.
grid_index is an optional embedded 1°×1° candidate-reduction index built
at compress time. When present, Finder uses it to skip full linear scans.
GridIndexCell records the timezone indices that intersect a single 1°×1° cell.
tz_indices are 0-based positions into the timezones array of the companion
CompressedTopoTimezones (or Timezones) file, matching the order used by Finder.items.
A ring segment: either inline points or a reference to a shared edge.
Shared edges are stored once in TopoTimezones.shared_edges and referenced
by their index; edge_reversed references the same edge but traversed in
the opposite direction.
A shared boundary edge stored once in the global edge library.
Rings reference it by index (forward or reversed) instead of repeating
the point sequence.
Timezones in topology format with shared-edge deduplication.
Shared timezone boundaries are stored exactly once in shared_edges;
rings reference them by ID rather than duplicating the point sequences.
This format targets full-precision data where ~52% of boundary edges are
shared, reducing the 96 MB full dataset by ~30–35 MB.