On geometrically uniform codes and topological quantum MDS codes