Is there an inverse function of ST_RasterToWorldCoord() in PostGIS (or the underlying GEOS/gdal), which, given the coordinates of a point in the raster's SRS, returns its row and column number?
I searched terms
st_worldcoordtoraster and found nothing. I imagine it is not too difficult to write such a conversion function, but just wanted to ask here to avoid reinventing the wheel.
(I'm using the latest PostGIS 3.3 beta)