Put raster data in the query view list. Prevents wrong height computation.

Fixes #832.

Please review.