This is presumably a legacy of an earlier bombardment on Dar-es-Salaam before the Germans withdrew. Shells of these size were only fired from ships.