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

PostGIS trac at osgeo.org
Wed May 30 12:07:47 PDT 2012


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

Comment(by turbothomas):

 sorry, before I was trying

 {{{
 raster2pgsql SUBDATASET_2_NAME=GTIFF_DIR:2:myfile.tif  tablename
 }}}


 Now I tried

 {{{
 gdalinfo SUBDATASET_2_NAME=GTIFF_DIR:2:myfile.tif
 }}}

 and got

 {{{
 ERROR 4: 'SUBDATASET_2_NAME=GTIFF_DIR:2:myfile.tif ' does not exist in the
 file system, and is not recognised as a supported dataset name.

 gdalinfo failed - unable to open 'SUBDATASET_2_NAME=GTIFF_DIR:2:myfile.tif
 '.
 }}}

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