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

PostGIS trac at osgeo.org
Sat Feb 16 09:12:31 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):

 Okay I've been cheating a bit.  I was using the gdalinfo from above that
 came from Temas build: http://www.gisinternals.com/sdk/


 {{{

 gdalinfo --version
 GDAL 1.10dev, released 2011/12/29
 }}}

 Using the gdalinfo that gets build with my mingw gdal

 {{{
 GDAL 1.9.2, released 2012/10/08

 gdalinfo c:/pic/back.jpg
 Driver: JPEG/JPEG JFIF
 Files: c:/pics/back.jpg
 Size is 6000, 4500
 Coordinate System is `'
 Metadata:
   EXIF_ColorSpace=1
   EXIF_DateTime=2012:11:28 15:18:54
   EXIF_Orientation=1
   EXIF_PixelXDimension=6000
   EXIF_PixelYDimension=4500
   EXIF_ResolutionUnit=2
   EXIF_Software=Adobe Photoshop CS3 Windows
   EXIF_XResolution=(150)
   EXIF_YResolution=(150)
 Image Structure Metadata:
   COMPRESSION=JPEG
   INTERLEAVE=PIXEL
   SOURCE_COLOR_SPACE=YCbCr
 Corner Coordinates:
 Upper Left  (    0.0,    0.0)
 Lower Left  (    0.0, 4500.0)
 Upper Right ( 6000.0,    0.0)
 Lower Right ( 6000.0, 4500.0)
 Center      ( 3000.0, 2250.0)
 Band 1 Block=6000x1 Type=Byte, ColorInterp=Red
   Image Structure Metadata:
     COMPRESSION=JPEG
 Band 2 Block=6000x1 Type=Byte, ColorInterp=Green
   Image Structure Metadata:
     COMPRESSION=JPEG
 Band 3 Block=6000x1 Type=Byte, ColorInterp=Blue
   Image Structure Metadata:
     COMPRESSION=JPEG

 }}}

 so my plain vanilla older version compile is not showing any overviews.
 But I think there are.  Perhaps I have a gdla installed somewhere on my
 production server and it's picking up the libjpeg from somewhere and that
 is a separate issue from the can't read band (which both computers
 exhibit)

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