[postgis-tickets] [PostGIS] #2914: ST_Rescale: Could not create GDAL transformation object for output dataset creation

PostGIS trac at osgeo.org
Fri Aug 29 03:44:07 PDT 2014


#2914: ST_Rescale: Could not create GDAL transformation object for output dataset
creation
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  2.1.x  
 Keywords:           |  
---------------------+------------------------------------------------------
 Obtained with this query:
 {{{
 with data as (
    SELECT ST_AddBand(
           ST_MakeEmptyRaster(10, 10, 0, 0, 1, -1, 0, 0, 4326),
           1, '8BUI', 0, 0
         ) r
  ),
  meta as (
    SELECT st_metadata(st_rescale(r,2.0,-2.0)) m from data
  ) select (m).* from meta;
 }}}

 Note that using a SRID=0 fixes the issue (see #2911)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2914>
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-tickets mailing list