Whenever the county court shall deem it advisable to change the boundary line between two or more districts, or to establish a new district out of another or two or more districts, or to consolidate two or more existing districts into one, it may make such change, establishment or consolidation, by an order entered of record. And if a survey be deemed necessary, it may employ the surveyor of lands for the county, or any other competent surveyor, who shall survey and make a plat of the several districts as the same are thus altered, on which the new lines shall be plainly delineated, noting particularly such places of notoriety or prominent objects through or by which such lines pass, and return such plat and description to the court; and the same shall be filed in the clerk's office of such court and recorded by the clerk. But before such districts shall be increased or diminished, or the boundary lines thereof changed, the court shall cause a notice of its intention to do so to be posted on the front door of the courthouse of the county, and at some public place in each district affected thereby, for at least thirty days prior to the term of court at which such action is proposed to be taken.