“Ksar Ouled Soltane“, Is located today near the city of Tataouine in southern Tunisia. the “Ksar Ouled Soltane” are storehouses for threshed grain with defensive works so they would be protected in case of attack (or in one Arabic word – ksar), ) it was built by the North African Berber tibes,”Ksar Ouled Soltane” was intentionally situated on top of a hill which made it easier to protect it from the raiders of the ancient world.
It was a part of the shooting of Star Wars: Episode I (1999) which was the slum area of the slaves quarters (a.k.a Mos Espa of planet Tatooine)
For more information visit Wikipedia – Ksar Ouled Soltane
Google map of Ksar Ouled Soltane