Added get raster region, removed unnecessary crap