Three kinds of data structures related to the quadtree and the octree are reviewed, and improvements, particularly far the storage requirements, are introduced. Applications to geology are indicated where possible. First, the bitwise condensed quadtree (BC quadtree) and the gray scale depth first expression are presented, which lead to a better manipulation and compression of gray scale images and density data. The BC quadtree results from a combination of spatial hierarchical subdivision with gray scale hierarchical subdivision and can easily be adapted to the representation of imprecise information. Second, examining the node types of the polytree, compaction is improved by defining some new node types. The polytree is a variant of the octree used in solid modeling to represent polygonal and polyhedral data. A special property of the new node types is that they can easily be processed with the conventional algorithms. Third, the storage of different kinds of very large quadtrees on external storage media leads to the desire for an unified way of access. Until now, the linear quadtree was the only data structure far this task. Its storage requirements are considerably improved by some simple changes.