Opened 9 years ago

Closed 9 years ago

#1151 closed defect (wontfix)

[raster] -l option is broken

Reported by: pracine Owned by: pracine
Priority: blocker Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:


When trying: -r C:\Temp\test01.bmp -t testmultiimage -s 9102707 -k 200x200 -l 2 > C:\Temp\testmulti5.sql

I get:

Traceback (most recent call last):

File "c:\postgres\bin\", line 1015, in <module>


File "c:\postgres\bin\", line 976, in main

wkblify_raster(opts, filename, i)

File "c:\postgres\bin\", line 921, in wkblify_raster

summary = wkblify_raster_level(options, ds, options.overview_level, band_range, infile, i)

File "c:\postgres\bin\", line 888, in wkblify_raster_level

hexwkb += wkblify_band(options, band, level, xoff, yoff, read_block_size, block_size, infile, b)

File "c:\postgres\bin\", line 796, in wkblify_band

out_pixels[row] = out_line

ValueError?: shape mismatch: objects cannot be broadcast to a single shape


Strangely there was a ticket #540 describing this problem but it disappeared from the database...

Change History (2)

comment:1 Changed 9 years ago by pracine

Priority: mediumblocker

comment:2 Changed 9 years ago by Bborie Park

Resolution: wontfix
Status: newclosed is now unsupported. If the same issue exists in the new C-based raster2pgsql, please reopen this ticket.

Note: See TracTickets for help on using tickets.