It was centrally located for the time, but it was still established with the idea it would have coastal access.
And it was a decent location that followed the European model of having the capital not on the coast but inland enough to defend. Caracas matches that location as well.
As opposed to the US which has a famously inland capital. :P
Washington is more or less centrally located given the scope of the original colonies. Not given the current scope of the United States.
It was centrally located for the time, but it was still established with the idea it would have coastal access.
And it was a decent location that followed the European model of having the capital not on the coast but inland enough to defend. Caracas matches that location as well.