Is the word "approach" used in the same way in the following two sentences?

To approach the city.

He was an admirable poet, and thought even to have approached Homer. -- Sir William Temple.
the same meaning