Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TypeError in _process_path for curved elements simplification
Refactored the line simplification in _process_path to avoid the numpy TypeError caused by changing data-type for an object array. Replaced np.array(LineString(line).simplify(tolerance=quantization)) with separate LineString simplification and conversion of its coordinates to a numpy array. This ensures the correct handling.
- Loading branch information