[postgis-tickets] [PostGIS] #2198: ST_Tile errors with outdb non-georeferenced

PostGIS trac at osgeo.org
Mon Feb 4 05:52:12 PST 2013


#2198: ST_Tile errors with outdb non-georeferenced
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 It says from the docs that ST_Tile when working with outdb creates outdb.
 Not quite sure what exactly that means.  I'm getting an error trying to
 use it


 This doesn't work
 {{{
 SELECT ST_Tile(rast,512,384) FROM (SELECT rast FROM
 scratch.inspection_photos_outdb WHERE filename='PHOTO_1_0001.jpg') As foo
 }}}

 Gives error:

 {{{
 rt_raster_add_band: Can't add a 1024x768 band to a 512x384 raster
 }}}

 However the same set of non-georeference rasters in the database
 works just dandy

 {{{
 SELECT ST_Tile(rast,512,384) FROM (SELECT filename, rast FROM
 scratch.old_inspection_photos_local WHERE filename='PHOTO_1_0001.jpg') As
 foo ;
 }}}

 haven't tried with georeferenced outdb to see if that makes a difference.

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