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

PostGIS trac at osgeo.org
Sat Feb 16 07:48:21 PST 2013


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

Comment(by robe):

 Before I do the mingw test, I just tried on the production server having
 the original issue which is a Windows 2008 R2 64-bit running:
 {{{
 PostgreSQL 9.2.3, compiled by Visual C++ build 1600, 64-bit
 PostGIS="2.1.0SVN r11095" GEOS="3.4.0dev-CAPI-1.8.0 r3755" PROJ="Rel.
 4.8.0,
 6 March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
 LIBJSON="UNK
 NOWN" RASTER
 }}}

 I can't even get the in db to work on this one with this image.  This is
 the same notice I was getting before on this one before the upgrade too:
 Sorry can't cut and paste fromt his server so bare with me

 {{{
 ERROR 1: libjpeg: Failed to create temporary file
 ERROR 1: E:\gisdata\pics\armory\back.jpg, band 2: IReadBlock failed at X
 offset 0, Y offset 0
 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
 ERROR: could not convert VRT dataset to PostGIS raster
 ERROR: process_rasters: Could not process raster:
 E:\gisdata\pics\armory\back.jpg
 }}}

 A bunch of the other pics I got in this set work fine but I suspect they
 don't have overviews.  I thought it might be the / E:\ vs. E:/ but
 flipping the slashes doesn't help.  So not sure why these two behave
 slightly differently but possibly a clue.

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