Opened 14 years ago

Last modified 14 years ago

#3458 closed defect

blank rectangles from gdalwarp for large inputs — at Version 1

Reported by: dstahlke Owned by: warmerdam
Priority: normal Milestone: 1.7.2
Component: Algorithms Version: 1.7.1
Severity: normal Keywords: warper
Cc:

Description (last modified by warmerdam)

gdalwarp is generating output that has large black rectangles that should not be there when given a large input file (a bluemarble octant). The rectangles move around depending on the output file format and depending on the value passed to the "-wm" option. If I use "-wm 1024" or greater the problem goes away (the input file is 1.3GB). The warp command I am using is:

gdalwarp -rn -te -4000000 -3000000 0 3000000 \
  -t_srs '+proj=gnom  +lon_0=-90.0 +lat_0=58 +a=5500000 +b=5500000' \
  -tr 2000 2000 -co 'TILED=YES' zz-src.tif zz.tif

The same error happens with other projections, and without the TILED=YES option. Valgrind doesn't report any errors.

I've attached a small thumbnail showing what it looks like.

Change History (2)

by dstahlke, 14 years ago

Attachment: zz.jpg added

thumbnail of output

comment:1 by warmerdam, 14 years ago

Component: defaultAlgorithms
Description: modified (diff)
Status: newassigned

Can you provide a gdalinfo report for the input file so I can try and construct something structurally similar to test?

Note: See TracTickets for help on using tickets.