import type { FunctionDefinition } from '../../definition_types'; /** * Calculates the `geotile` of the supplied geo_point at the specified precision. * The result is long encoded. * Use `TO_STRING` * to convert the result to a string, * `TO_LONG` * to convert it to a `long`, or * `TO_GEOSHAPE` * to calculate the `geo_shape` bounding geometry. * * These functions are related to the `geo_grid` query * and the `geotile_grid` aggregation. * * @example * FROM airports * | EVAL geotile = ST_GEOTILE(location, 2) * | STATS * count = COUNT(geotile), * centroid = ST_CENTROID_AGG(location) * BY geotile * | EVAL geotileString = TO_STRING(geotile) * | SORT count DESC, geotileString ASC * | KEEP count, centroid, geotileString */ declare const definition: FunctionDefinition; export default definition; //# sourceMappingURL=st_geotile.d.ts.map