
stackoverflow.com
https://stackoverflow.com/questions/5941205/locati…
data warehouse - Location dimension table - Stack Overflow
Location dimension is tricky, and Even Ralph Kimball recognizes that it is a challenge (see chapter 10 of Building the Data Warehouse). In you case, you actually need 5 dimensions, one for each level and its levels above (one dimension for Continent, Country, Region, City, Postal, one for Continent, Country, Region, City, etc.)