Local-Ising-type magnetic order and metamagnetism in the rare-earth pyrogermanate Er2Ge2O7