It was definitely Bannow Grammar School, Scarview House, Bannow, Wexford.
Two of my ancestors went there in the 1830s and one of them, Alexander de Courcy Potterton, went to New Zealand in 1864. The prospectus states that teaching included 'Land and Coast surveying, Mapping, Delineation of Charts' which would fit with your ancestor's later employment.