Line Simplification with Ramer–Douglas–Peucker
adventures.michaelfbryan.com