That is the best way to do it.
If you have to travel very far just wait as long as possible and then take them with you, but give warning to the property owners that there will be a small ball of bees gathered there for several days. They will finally disperse to parts unknown or die off. It is thought that they will beg their way into another hive, and they may just do that too.