Bug report #14229

Updated by Giovanni Manghi about 3 years ago

Raster in projected CRS is not rendered if OTFR is on, project is in geographic CRS and canvas extent exceeds -180,-90,180,90.

How to reproduce:

- set OTFR on

- set project CRS to EPSG:4326

- open qgis_sample_data/raster/landcover.img

Nothing is displayed until you zoom to area within -180,-90,180,90 covered by landcover.img

It is probably caused by



extent = QgsRectangle( -DBL_MAX, -DBL_MAX, DBL_MAX, DBL_MAX );


and consequently


tells "draw request outside view extent".