[postgis-tickets] [PostGIS] #2771: GDAL-dependent memory size of rasters ?

PostGIS trac at osgeo.org
Fri Jun 20 08:36:11 PDT 2014


#2771: GDAL-dependent memory size of rasters ?
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  dustymugs
     Type:  defect   |      Status:  new      
 Priority:  medium   |   Milestone:           
Component:  postgis  |     Version:  trunk    
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 I'm trying to run the query so to subtract the length of band paths, but I
 stumbled upon what looks like being another bug: ST_BandPath returning
 random strings.

 This query, put in raster/test/regress/rt_utiligy.sql right before my new
 test ("ms1"):

 {{{
 SELECT 'BandPath', rid, ST_BandPath(rast,1) from raster_outdb_template;
 }}}

 Gives this output:
 {{{
     band 1 of pixtype 8BUI is out-db with NODATA value of 255
      band 2 of pixtype 8BUI is in-db with NODATA value of 0
 +BandPath|1|^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^S^B
 +BandPath|2|^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?~^W^B
 +BandPath|3|
 +BandPath|4|^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?^?~^W^B
  ms1|64
 }}}

 Is there any test for ST_BandPath ?
 I guess this should go in another ticket...

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