A magnitude-5.2 quake hit North Island in New Zealand on Wednesday, according to the European-Mediterranean Seismological Center (EMSC).