Devolver la celda H3 temporal en la resolución dada que contiene cada punto de un punto temporal geodésico o planar (el SRID debe ser 4326 para la sobrecarga de tgeompoint)
th3index(tgeogpoint,integer) → th3index th3index(tgeompoint,integer) → th3index
SELECT th3GetResolution(th3index( tgeogpoint 'POINT(-73.96 40.78)@2001-01-01', 9)); -- 9@2001-01-01 SELECT th3GetResolution(th3index( tgeompoint 'SRID=4326;POINT(-73.96 40.78)@2001-01-01', 9)); -- 9@2001-01-01
Devolver el centroide geodésico temporal de cada celda en una trayectoria. Una sobrecarga planar (SRID 4326) está disponible bajo el nombre th3CellToLatlngTgeompoint.
th3CellToLatlng(th3index) → tgeogpoint th3CellToLatlngTgeompoint(th3index) → tgeompoint
SELECT asText(th3CellToLatlng(th3index '871fa44a8ffffff@2001-01-01'), 6); -- POINT(4.297401 50.8043)@2001-01-01 SELECT asText(th3CellToLatlngTgeompoint(th3index '871fa44a8ffffff@2001-01-01'), 6); -- POINT(4.297401 50.8043)@2001-01-01
Devolver el límite poligonal temporal de cada celda en una trayectoria, como una geografía temporal
th3CellToBoundary(th3index) → tgeography
SELECT ST_GeometryType(getValue(th3CellToBoundary(th3index '871fa44a8ffffff@2001-01-01'))::geometry); -- ST_Polygon -- A hexagon closes on its first vertex, so it has seven points. SELECT ST_NPoints(getValue(th3CellToBoundary(th3index '871fa44a8ffffff@2001-01-01'))::geometry); -- 7