Chapter 2 investigates the properties of rank metric codes through a geometric approach. We study the fundamental problems of sphere packing and sphere covering in the rank metric, and our results provide guidelines on the design of rank metric codes.