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

PostGIS trac at osgeo.org
Mon Nov 1 13:48:27 PDT 2010


#655: raster: raster2pgsql -b switch produces bad sql file
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 I suppose it might be because I'm using 2.5 python with gdal 1.6, though
 without the -b switch works fine.


 {{{
 python raster2pgsql.py -s 4326 -r US.tif -b 1 -t usdem -l 1 -k 130x79 -o
 usdem.sql
 psql -h localhost -U postgres -d gisdb -f usdem.sql

 }}}
 --gives psql:usdem.sql:4: ERROR:  Premature end of WKB on band reading
 (rt_api.c:2208)
 ---
 Let me know if I need to attach the file.

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