Return the QUADBIN cell at the given resolution that contains a point geometry. The geometry must be a POINT; longitudes are interpreted in SRID 4326.
geoToQuadbinCell(geometry,integer) → quadbin
SELECT geoToQuadbinCell(geometry 'SRID=4326;POINT(4.35 50.85)', 10) = quadbin '48a6227affffffff'; -- true
Return the centroid of a cell as an SRID-4326 point. The static form takes a single quadbin; the temporal form returns the centroid of each cell in a trajectory as a tgeompoint.
quadbinCellToPoint(quadbin) → geometry
tquadbinCellToPoint(tquadbin) → tgeompoint
Return the square polygon boundary of a cell as an SRID-4326 geometry. The static form takes a single quadbin; the temporal form returns the boundary of each cell in a trajectory as a tgeometry.
quadbinCellToBoundary(quadbin) → geometry
tquadbinCellToBoundary(tquadbin) → tgeometry
Return the axis-aligned bounding box of a cell as an SRID-4326 geometry. For a QUADBIN cell the bounding box and the boundary coincide, since cells are axis-aligned web-mercator squares.
quadbinCellToBoundingBox(quadbin) → geometry