Format for encoding a variety of geographic data structures