simplify parsing and rounding location coordinates