[PostGIS] #2832: [raster] raster2pgsql pads overviews with single tiles

PostGIS trac at osgeo.org
Sat Jun 20 05:47:36 PDT 2026


#2832: [raster] raster2pgsql pads overviews with single tiles
---------------------+-----------------------------
  Reporter:  strk    |      Owner:  dustymugs
      Type:  defect  |     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:"6c7ab193ea99ea6dabd5fb05dac9a995f4aa6be4/git"
 6c7ab193/git]:
 {{{#!CommitTicketReference repository="git"
 revision="6c7ab193ea99ea6dabd5fb05dac9a995f4aa6be4"
 raster2pgsql: avoid padding single-tile overviews

 Trim overview edge tiles whenever padding is disabled, including the case
 where the overview fits in one tile. Compute overview tile counts
 independently for each axis so one matching dimension does not suppress
 tiling on the other.

 Add a loader regression that builds a single-tile overview with a larger
 requested tile size and verifies the generated overview keeps the unpadded
 dimensions and extent.

 Closes #2832

 Closes https://github.com/postgis/postgis/pull/995
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2832#comment:4>
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