A generalized procedure for determining when street maintenance activities should be allowed