(a) No adult entertainment establishment, business or use shall be located within 1,000 feet of the following, measured from the closest point of the real property on which the adult entertainment establishment is sought to be erected and operated in a straight line to the closest point of the real property: (1) Any parcel of land that is either named or used for residential uses or purposes; (2) A church, school, government-owned or -operated public facility, library, public park or hospital; (3) Any other adult entertainment establishment; or (4) An establishment licensed to sell malt beverages, wine, and other alcoholic beverages. (b) If the adult entertainment establishment or the activity to which a measurement is required is a part of a tract of land occupied by the other uses, the measurement shall be from the closest point of the total tract of land and not the building in which the activities are located.