[postgis-tickets] [PostGIS] #2280: [raster] ST_Summary(raster)

PostGIS trac at osgeo.org
Wed Apr 24 18:08:17 PDT 2013


#2280: [raster] ST_Summary(raster)
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by dustymugs):

 ST_Summary(raster) would return the following...

 1. dimensions
 2. extent (are you sure about this? if so, box2d?)
 3. skewed
 4. # of bands
 5. pixel type of each band
 6. indication if band has NODATA value and what it is

 Example output:

 {{{
 [Skewed] Raster of 800 by 600 pixels with # bands and an extent of
 BOX(...).
   Band 1 is of pixel type 8BUI and has no NODATA value.
   Band 2 is of pixel type 32BF and has the NODATA value of -9999.
   ...
   Band n is of pixel type PIXTYPE and has (no NODATA value|the NODATA
 value of ???).
 }}}

 Is that what you're looking for?  Maybe too much verbiage...

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