[postgis-tickets] [PostGIS] #2203: [raster]: Can't read out_db jpg in some cases

PostGIS trac at osgeo.org
Tue Feb 19 04:02:31 PST 2013


#2203: [raster]: Can't read out_db jpg in some cases
---------------------+------------------------------------------------------
  Reporter:  robe    |       Owner:  dustymugs    
      Type:  defect  |      Status:  assigned     
  Priority:  medium  |   Milestone:  PostGIS 2.1.0
 Component:  raster  |     Version:  trunk        
Resolution:          |    Keywords:  history      
---------------------+------------------------------------------------------

Comment(by robe):

 I see this in the logs when I have that ON


 {{{
 GDAL: GDALOpen(C:/pics/back.jpg, this=000000000499FAD0) succeeds as JPEG.
 VRT: VRTSourcedRasterBand::SetMetadataItem(STATISTICS_MINIMUM,0,)

 VRT: VRTSourcedRasterBand::SetMetadataItem(STATISTICS_MAXIMUM,255,)

 VRT:
 VRTSourcedRasterBand::SetMetadataItem(STATISTICS_MEAN,98.720363148148,)

 VRT:
 VRTSourcedRasterBand::SetMetadataItem(STATISTICS_STDDEV,81.487080665688,)

 ERROR 1: libjpeg: Failed to create temporary file
 ERROR 1: C:/pics/back.jpg, band 1: IReadBlock failed at X offset 0, Y
 offset 0
 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
 ERROR:  rt_raster_from_gdal_dataset: Unable to get data from GDAL raster
 CONTEXT:  SQL function "st_summarystats" statement 1
 STATEMENT:  SELECT ST_SummaryStats(rast) from armory_outdb
 }}}

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