Despite what crazy conspiracy theory books say, his Kennedy's route was published.
Oswald saw his opportunity and took advantage of it.
There's your knowledge and preparation.
There are differing accounts on that.
Each is entitled to their view. Not worth discussing with persons who call others names. That is all.
They do not keep the route a secret. How would you do that and have a big parade in his honor?