resample_grid() now returns an object of class SpatialPointsDataFrame