Opened 11 years ago

Closed 11 years ago

#2198 closed defect (fixed)

[raster] ST_Tile errors with outdb non-georeferenced

Reported by: robe Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: master
Keywords: Cc:


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.

Change History (1)

comment:1 by Bborie Park, 11 years ago

Resolution: fixed
Status: newclosed
Summary: ST_Tile errors with outdb non-georeferenced[raster] ST_Tile errors with outdb non-georeferenced

Oops. Wrong variable used. Fixed in r11079

Note: See TracTickets for help on using tickets.