Geometry of compactifications of locally symmetric spaces