[postgis-devel] [PostGIS] #1839: [raster] raster2pgsql is unable to handle TIFF subdatasets

PostGIS trac at osgeo.org
Wed May 23 08:54:47 PDT 2012


#1839: [raster] raster2pgsql is unable to handle TIFF subdatasets
--------------------------------------------+-------------------------------
 Reporter:  turbothomas                     |       Owner:  dustymugs    
     Type:  defect                          |      Status:  new          
 Priority:  medium                          |   Milestone:  PostGIS 2.0.1
Component:  raster                          |     Version:  2.0.x        
 Keywords:  raster2pgsql, TIFF, subdataset  |  
--------------------------------------------+-------------------------------

Comment(by turbothomas):

 Replying to [comment:2 dustymugs]:
 > Can you provide the output from running gdalinfo on the tiff file?


 {{{
 Driver: GTiff/GeoTIFF
 Files: pathto/imagename.tif
 Size is 611, 1
 Coordinate System is `'
 Metadata:
   TIFFTAG_IMAGEDESCRIPTION=CXmlTiff type
   TIFFTAG_RESOLUSTIONUNIT=2 (pixels/inch)
   TIFFTAG_XRESOLUTION=100
   TIFFTAG_YRESOLUTION=100
 ImageStructure Metadata:
   INTERLEAVE=BAND
 Subdatasets:
   SUBDATASET_1_NAME=GTIFF_DIR:1:pathto/imagename.tif
   SUBDATASET_1_DESC=Page 1 (611P x 1L x 1B)
   SUBDATASET_2_NAME=GTIFF_DIR:2:pathto/imagename.tif
   SUBDATASET_2_DESC=Page 1 (392P x 514352L x 1B)
 Corner Coordinaes:
 Upper Left  (   0.0, 0.0)
 Lower Left  (   0.0, 1.0)
 Upper Right ( 611.0, 0.0)
 Lower Right ( 611.0, 1.0)
 Center      ( 305.5, 0.5)
 Band 1 Block=611x1 Type=Byte, ColorInterp=Gray
 }}}

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