[PostGIS] #2137: [raster] Add handling for overviews present in source rasters

PostGIS trac at osgeo.org
Sun Jun 21 10:43:47 PDT 2026


#2137: [raster] Add handling for overviews present in source rasters
--------------------------+-----------------------------
  Reporter:  dustymugs    |      Owner:  dustymugs
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS Fund Me
 Component:  raster       |    Version:  master
Resolution:  fixed        |   Keywords:
--------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"a0b3925cf59cea943ac9bd1d2130692a559ff64f/git"
 a0b3925c/git]:
 {{{#!CommitTicketReference repository="git"
 revision="a0b3925cf59cea943ac9bd1d2130692a559ff64f"
 Reuse source overviews in raster2pgsql

 When raster2pgsql builds overview tables with -l, reuse a GDAL source
 overview whose dimensions match the requested output overview level for
 every selected band. Fall back to the existing generated overview path
 when any band has no matching source overview.

 Includes a loader regression whose source GeoTIFF carries an averaged 2x
 overview, so expected output distinguishes source-overview reuse from
 nearest-neighbor regeneration.

 Closes #2137

 Closes https://github.com/postgis/postgis/pull/1092
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2137#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list