action against encroachment