[postgis-devel] [PostGIS] #989: [wktraster] gdal2wktraster.py has trouble with GRD files

PostGIS trac at osgeo.org
Wed May 25 20:58:37 PDT 2011

#989: [wktraster] gdal2wktraster.py has trouble with GRD files
 Reporter:  dondrake  |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 1.5.3
Component:  postgis   |     Version:  1.5.X        
 Keywords:            |  
 I get some strange warning when running gdal2wktraster.py:

 -bash-3.2$ /usr/local/pgsql/bin/gdal2wktraster.py -s 4326 -M -I -k 256x256
 -r /tmp/test.grd -t x > /tmp/sql.sql
 /usr/local/pgsql/bin/gdal2wktraster.py:645: DeprecationWarning: integer
 argument expected, got float
   hexstr = binascii.hexlify(struct.pack(fmt_little, data)).upper()

 When viewing this raster using MapServer, it never appears.  Other rasters
 (grc, tiff, etc.)  appear just fine.

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