Opened 14 years ago

Closed 13 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 by pracine, 14 years ago

Description: modified (diff)

comment:2 by Bborie Park, 13 years ago

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 by Bborie Park, 13 years ago

Added ability to extract only the raster header in r7376

comment:4 by pracine, 13 years ago

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 by Bborie Park, 13 years ago

Resolution: fixed
Status: newclosed

Yes. I'm closing this ticket.

Note: See TracTickets for help on using tickets.