[raster] Implementation of ST_AsBinary for RASTER type
This is just a record of the plan I've made to start implementing ST_AsBinary function for WKT Raster. The function is listed in the big plan.
The first version of [ST_AsBinary I'm going to implement will do nearly the same what ST_byte function does. It's prototype is:
bytea ST_AsBinary(raster r1);
At the moment, I don't aim to implement compression support, but later it can be extended to provide it:
bytea ST_AsBinary(raster r1, text compression);
I haven't planned to handle endianness as PostGIS' ST_AsBinary does. So, it is expected that WKB is returned with endianness native to the machine running the PostgreSQL database - it can vary (i.e. Intel returns NDR, PowerPC returns XDR).
Feel free to share your suggestions of solutions fot this.
Change History
(10)
Owner: |
changed from pracine to mloskot
|
Status: |
new → assigned
|
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Summary: |
Implementation of ST_AsBinary for RASTER type → [wktraster] Implementation of ST_AsBinary for RASTER type
|
Milestone: |
→ WKTRaster Future
|
Priority: |
high → low
|
Type: |
enhancement → task
|
Summary: |
[wktraster] Implementation of ST_AsBinary for RASTER type → [raster] Implementation of ST_AsBinary for RASTER type
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Milestone: |
PostGIS Raster Future → PostGIS Future
|
Milestone: |
PostGIS Future → PostGIS Fund Me
|
First version available from the spike (r4346)