If this is such a common thing to do, maybe we could provide a helper function (taking the name of lat and lon) rather than copying-and-pasting this long and confusing thing?