from_pgraster
Convert a PostGIS HEX String into a dictionary.
def from_pgraster(
data: str
) - > dict
Convert a PostGIS HEX String into a dictionary.
Parameters
| Name | Type | Description |
|---|---|---|
| data | str | The PostGIS HEX-encoded string representing the raster data to be parsed. |
Returns
| Type | Description |
|---|---|
dict | A dictionary containing the raster metadata (SRID, dimensions, origin, scale, skew, datatype) and a list of band data buffers. |