H3 là chỉ mục không gian dạng lục giác phân cấp của Uber. Mỗi đối tượng bản đồ được tổng hợp vào một ô H3 ở độ phân giải yêu cầu; bản xuất trả về JSON với các chỉ mục H3 thực sau khi ảnh worker được dựng lại với h3>=4.0. Cho đến lúc đó, trình xuất sẽ báo lỗi một cách trung thực — chúng tôi không còn phát ra các chuỗi tổng hợp giả fallback_7_7690_5336 nữa.
Tính năng chính

Giới thiệu về định dạng H3
H3 is a hexagonal indexing system for the Earth invented at Uber: the planet is split into hexagonal cells across fifteen levels of nesting, and every cell has its own short identifier. Hexagons are more convenient than squares in analytics: a cell has six neighbors at the same distance, so density is not distorted along the diagonals.
The export is what you need when the features themselves matter less than their distribution: how many cafes fall into a cell, where development thickens, how to compare districts with each other. The H3 index is the common denominator to which any map layer and your own data are reduced alike.
The output is a single .json with the H3IndexCollection structure: the resolution, the extent of the area and a list of cells. Every cell carries a real H3 index, the total number of features that fell into it and a breakdown by layer; on request the cell's boundary is added as a GeoJSON polygon. The resolution is set from 0 to 15, with seven by default — a cell with an edge of about 1.2 km, convenient at city scale.
The export is built honestly: indexes are computed by the h3 library version four and newer. If it is missing from the environment, the export returns an error rather than made-up placeholder strings — that mode existed before and was misleading. Features are assigned to cells by their centroids, and the limit is 500,000 features per export.
Chương trình nào mở được tệp H3
Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp Uber H3 Hexagonal Index (beta) (.json) được xuất từ OSM2CDR:
Format specifications
- Open standard
- 2D only
- Lossy compression
- Stores feature attributes
- Output: 1 file
- Uber H3 hexagonal index aggregation as a single JSON file. Each record is an H3 cell ID + feature count (optional GeoJSON hex boundary). Resolutions 0-15, default 7.
Ai sử dụng bản đồ H3
Cách xuất H3
Cách mở tệp sau khi xuất
- Python — read the JSON, then use the h3-py library: h3.cell_to_boundary gives the cell outline, h3.grid_disk gives the neighbors, and pandas assembles the summary tables.
- deck.gl — the H3HexagonLayer takes indexes directly, so a density map is built without creating polygons first.
- Kepler.gl — load a table with a column of indexes and pick the H3 layer type: an interactive heat map comes together in a couple of clicks.
- QGIS (free) — if the export was made with cell boundaries, the polygons from the file attach as a layer and are colored by feature count.
- Databases — the H3 index makes a convenient join key against your own tables: ClickHouse has H3 functions built in, and PostgreSQL has the h3-pg extension.
Bản đồ phổ biến ở định dạng H3
Nhận bản đồ xuất ở định dạng Uber H3 Hexagonal Index (beta)
Tải bản đồ H3 chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.