[postgis-tickets] [PostGIS] #2359: raster2pgsql - large collection of examples of different bugs in -l (overviews)

PostGIS trac at osgeo.org
Thu Jun 13 04:11:47 PDT 2013


#2359: raster2pgsql - large collection of examples of different bugs in -l
(overviews)
------------------------------------+---------------------------------------
 Reporter:  gbell                   |       Owner:  dustymugs    
     Type:  defect                  |      Status:  new          
 Priority:  high                    |   Milestone:  PostGIS 2.1.0
Component:  raster                  |     Version:  2.0.x        
 Keywords:  raster2pgsql overviews  |  
------------------------------------+---------------------------------------

Comment(by gbell):

 Also, an outline of a simple fix that might address many of these cases.

 1. Calculate when this is occurring most often.
 (At a guess, perhaps when the overview will have a size that is smaller
 than one tile, or some other threshold value).

 2. Detect if the raster size, when rescaled to the overview size, will be
 less than the bug threshhold.

 3. Report to the user that the requested overview will be too small for
 the raster and exit cleanly.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2359#comment:1>
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