A magnitude 6.2 earthquake struck near the New Zealand capital Wellington on Wednesday, the U.S. Geological Survey said. There were…