1. In a digital medium environment to facilitate location-aware analysis by enabling location-related data that is encoded with a tree mechanism to be persisted in a database, a method implemented by at least one computing device, the method comprising: extracting a node from a tree data structure that includes multiple nodes respectively corresponding to multiple areas, the node corresponding to an area of the multiple areas and including an area indicator for the area; determining if the node includes multiple references pointing to respective ones of multiple subnodes of the node; responsive to the node including the multiple references, inserting an entry in a database, the entry including a key field populated with the area indictor and multiple reference fields respectively populated with area indicators corresponding to the multiple subnodes; building at least a portion of the database by repeating the extracting, the determining, and the inserting for additional nodes of the tree data structure; and disseminating the database to multiple end-user devices.