AIFDR/risk_in_a_box — Issue #123: density scaling not working for a native UTM dataset
Author: uniomni
Created: 2012-03-07 03:03:45+00:00
State: open

I don't have time to investigate further, but doing the flood population impact with a UTM population dataset, gave bad scaling numbers:

Actual res 0.000452
Native res 0.094782351353
Scaling 2.27416469315e-05

It appears that Raster.get_resolution somehow used the UTM geotransform which clearly explains why the numbers were wrong. Two pathways,
Make Raster.get_resolution work like the GUI functino getWGS84resolution or work out if the front-end should have reprojected this layer.