Railroad flagpole