Compatible Spatial Discretizations