An earthquake measuring 8.2 on the Richter scale struck the coast of northern Chile late Tuesday, triggering small landslides, sapping