H3 Hex Index
Uber H3 hierarchical hexagonal spatial index. A 15-character lowercase hexadecimal string encoding resolution (0-15) and cell position.
H3 Hex Index
geography.index.h3Uber H3 hierarchical hexagonal spatial index. A 15-character lowercase hexadecimal string encoding resolution (0-15) and cell position.
Domain
geography
Category
index
Casts to
VARCHAR
Scope
Universal
Try it
CLI
$ finetype infer -i "8928308280fffff"
→ geography.index.h3DuckDB
Detect
SELECT finetype('8928308280fffff');
-- → 'geography.index.h3'Cast expression
CAST({col} AS VARCHAR)Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'geography.index.h3';JSON Schema
finetype schema geography.index.h3
{
"$id": "https://meridian.online/schemas/geography.index.h3",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Uber H3 hierarchical hexagonal spatial index. A 15-character lowercase hexadecimal string encoding resolution (0-15) and cell position.",
"examples": [
"8928308280fffff",
"891f1d4c6c7ffff",
"8a2a1072b59ffff",
"872830828ffffff",
"8e28308280f0e4f"
],
"pattern": "^[0-9a-f]{15}$",
"title": "H3 Hex Index",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)",
"x-finetype-transform-ext": "h3_cell_to_lat(h3_string_to_h3({col}))"
}Examples
8928308280fffff891f1d4c6c7ffff8a2a1072b59ffff872830828ffffff8e28308280f0e4fAliases
h3_indexh3_cell