Ticket #867 (closed enhancement: fixed)

Opened 2 years ago

Last modified 22 months ago

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

Reported by: pracine Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: trunk
Keywords: Cc:

Description (last modified by pracine) (diff)

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

Changed 2 years ago by pracine

  • description modified (diff)

Changed 2 years ago by dustymugs

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.

Changed 2 years ago by dustymugs

Added ability to extract only the raster header in r7376

Changed 22 months ago by pracine

  • owner changed from pracine to dustymugs

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

Changed 22 months ago by dustymugs

  • status changed from new to closed
  • resolution set to fixed

Yes. I'm closing this ticket.

Note: See TracTickets for help on using tickets.