Opened 10 years ago

Closed 9 years ago

#867 closed enhancement (fixed)

[raster] Implement a version of rt_raster_deserialize for the raster header only

Reported by: pracine Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description (last modified by pracine)

To get a much better performance on every ST_Get function on the raster header:

RASTER_convex_hull
RASTER_getSRID
RASTER_getWidth
RASTER_getHeight
RASTER_getNumBands
RASTER_getXScale
RASTER_getYScale
RASTER_setScale
RASTER_setScaleXY
RASTER_getXSkew
RASTER_getYSkew
RASTER_setSkew
RASTER_setSkewXY
RASTER_getXUpperLeft
RASTER_getYUpperLeft
RASTER_setUpperLeftXY

See if it is possible to do the same for a requested band so we can improve the performance of every other functions.

Change History (5)

comment:1 Changed 10 years ago by pracine

Description: modified (diff)

comment:2 Changed 9 years ago by Bborie Park

I don't believe we can only deserialize the raster header for setter functions as when the raster gets serialized after setting an attribute of the header, the raster doesn't have any of the bands.

comment:3 Changed 9 years ago by Bborie Park

Added ability to extract only the raster header in r7376

comment:4 Changed 9 years ago by pracine

Owner: changed from pracine to Bborie Park

Bborie, Can we close this one? Does every function which should use this new header only deserializer use it?

comment:5 Changed 9 years ago by Bborie Park

Resolution: fixed
Status: newclosed

Yes. I'm closing this ticket.

Note: See TracTickets for help on using tickets.