[postgis-devel] [PostGIS] #655: [raster] raster2pgsql -b switch produces bad sql file

PostGIS trac at osgeo.org
Wed Jan 12 13:54:37 PST 2011


#655: [raster] raster2pgsql -b switch produces bad sql file
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  assigned     
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by jorgearevalo):

 The problem is the WKB string is created with the number of bands of the
 raster, instead of the band required with the -b option.

 So, if the raster has 3 bands and you specify the option -b 1', the WKB
 string has 3 in the number of bands, instead of 1.

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