A magnitude 4.8 earthquake has struck near the top of the South Island. GeoNet said it had a depth of 48km and was located 30km west of Blenheim.