Analyzing raster data