The (Prince Edward Island) Department of Transportation and Infrastructure Renewal is considering legal action against a farmer who has been blocking a section of the Confederation Trail.