Opened 15 years ago

Last modified 7 years ago

#232 closed task

Implementation of ST_AsBinary for RASTER type — at Version 3

Reported by: mloskot Owned by: mloskot
Priority: low Milestone: PostGIS Fund Me
Component: raster Version: master
Keywords: st_asbinary, bytea Cc:

Description (last modified by mloskot)

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. Feel free to share your suggestions of solutions fot this.

Change History (3)

comment:1 by mloskot, 15 years ago

Owner: changed from pracine to mloskot
Status: newassigned

comment:2 by mloskot, 15 years ago

Keywords: bytea added

First version available from the spike (r4346)

comment:3 by mloskot, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.