Simplify.js is a compact high-performance JavaScript library for reducing the number of points in polylines while preserving their overall shape. It was extracted from Leaflet and is designed for geometry-heavy mapping and visualization workloads. The implementation first uses a fast radial-distance pass unless highest-quality mode is requested. It then applies the Ramer-Douglas-Peucker algorithm for more accurate simplification. A configurable tolerance controls how aggressively points are removed. The library works in browsers, workers, AMD environments, and Node.js with a very small codebase. Ports also exist in several other programming languages.
Features
- High-performance polyline simplification
- Ramer-Douglas-Peucker algorithm
- Radial-distance preprocessing
- Configurable simplification tolerance
- Optional highest-quality mode
- Browser, worker, AMD, and Node.js support
Categories
LibrariesLicense
BSD LicenseFollow Simplify.js
Other Useful Business Software
Demo Series - Small Business Backup By Veeam
Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Simplify.js!