We develop a trade model in which productivity--the result of a country's ability to adopt global technologies--presents an arbitrary pattern of spatial correlation. The model generates the full class of import demand systems consistent with Ricardian theory, and, hence, captures its full...