Polyline simplifications