PlanElement: using LocationType to calculate distance.