ES|QL TO_GEOTILE function

Converts a value to a geotile.

Embedded
field

Input value. The input can be a single- or multi-valued column or an expression.

Converts an input value to a geotile value. A string will only be successfully converted if it respects the geotile format, as described for the geotile grid aggregation.

field result
geotile geotile
keyword geotile
long geotile
text geotile
ROW string = "4/8/5"
| EVAL geotile = TO_GEOTILE(string)
		
string:keyword geotile:geotile
4/8/5 4/8/5