Having provided the steel pipe needed on these facilities gave me some insight over the years.
They are located as close to where you want to discharge the processed water as possible. And of course where nobody can smell it.
Otherwise they pay for the steel pipe needed to get it there.
And that can get really expensive.
Pete