$ 0 0 check if the Extent you are building is the same as the extent of fs to create the raster the method uses fs.extent Oscar