[postgis-devel] [PostGIS] #985: [raster] ST_Count

PostGIS trac at osgeo.org
Wed Jun 8 14:03:25 PDT 2011


#985: [raster] ST_Count
-----------------------------+----------------------------------------------
  Reporter:  dustymugs       |       Owner:  dustymugs    
      Type:  task            |      Status:  reopened     
  Priority:  medium          |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:  history      
-----------------------------+----------------------------------------------

Comment(by pracine):

 I see two things in that:

 1) We should not have to deserialize the whole raster to get the raster
 georeferencing properties. We should have a rt_raster_deserialize_header
 function. That would certainly make all all the getter faster. It is
 possible to deserialize only part of the raster? It seems to me that just
 copying rt_raster_deserialize until the first memcpy would make a working
 rt_raster_deserialize_header function.

 2) We can not push the preceding logic too far and remove all the metadata
 getters. On the other side we could have a more efficient C implementation
 of ST_Metadata and ST_BandMetadata.

 Would that fill your needs?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/985#comment:24>
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-devel mailing list