Zoning and building codes in real estate