filter library
A library that provides utilities for filtering and processing way data from a map file.
This includes functionality for:
- Cropping ways to a given bounding box.
- Simplifying way geometries to reduce complexity.
- Filtering ways based on their size.
Classes
- WayCropper
- A utility class for cropping and simplifying way geometries to fit within a given bounding box (typically a map tile).
- WaySimplifyFilter
- A filter that simplifies way geometries using the Douglas-Peucker algorithm.
- WaySizeFilter
- A filter that removes ways that are too small to be visually significant at a given zoom level.