[postgis-tickets] [PostGIS] #2249: [raster] Implement ST_MakeEmptyCoverage

PostGIS trac at osgeo.org
Fri Jul 18 01:30:47 PDT 2014


#2249: [raster] Implement ST_MakeEmptyCoverage
-------------------------+--------------------------------------------------
 Reporter:  dzwarg       |       Owner:  dzwarg       
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  raster       |     Version:  trunk        
 Keywords:  raster       |  
-------------------------+--------------------------------------------------

Comment(by strk):

 I've taken a look at the function signature in the latest patch and got a
 bit scared :)
 I imagine a coverage creation as two steps:

  1. Creation of the table that would represent the coverage configuration
  2. Population of the coverage

 The first step could be similar to AddRasterColumn, that is it only
 creates a structure,
 w/out inserting the data.

 The way I'd call such a coverage-creation function would be by passing it:

 Mandatory:

  1. The spatial extent to be covered by the coverage
  2. The pixel size in geographical units (the scale)

 Optional:

  3. SRID. Unconstrained if not given. [ok, maybe this could be mandatory]
  4. The max size of coverage tiles in pixels. Unconstrained if not given.

 I see this function instead creates a whole set of empty tiles,
 which is possibly a big waste of time as you probably want to later modify
 those tiles to have actual data in them...

 Also for a big coverage it could be very easy to end up out of memory.

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