The final scene is shot in South Africa. If you look at the cars they have the distinctive 'T' at the end of the license plates, indicating Transvaal (now Gauteng) Province. This places the filming somewhere in Johannesburg.
The main character's name "Cabot" is spoken more than fifty-five times in the opening 10 minutes alone. Thirty-five of those times are spoken by his "friend" Watney Smith.