implement getGeoTree. builds a tree from a flat list of geotargetings