i was on a pier
or i was at a pier.
or both prepositions can be used?

and one more thing to ask

it is a description to some picture i took last summer
"im sitting on a old wooden rail on (at) (a)the pier"
does it sound well?

and again it is a description to a picture
"here is the hurricane ophelia passing me by"
is this sentence correct?