A spatial trip generation model