Modelling the spread of invasive species across heterogeneous landscapes