I understand a Check Engine Light is often triggered by things related to emissions, oxygen sensors and such - is it at all possible that something in the air near a large/open (read smelly) wastewater treatment facility could cause the light to come on when driving past?
If that were possible, I’d be much more worried about my health than my Check Engine Light.
No.
I strongly doubt it.