Correct SQL syntax and lon/lat order.