Closed andriyandriyan closed 3 years ago
Hi,
thanks for reporting this. Can you provide details on how to trigger this error? i.e., for which input values the exception in thrown?
This is my code
$polyline = new Polyline();
foreach ($path as $value) {
$polyline->addPoint(new Coordinate($value["lat"], $value["lng"]));
}
$processor = new SimplifyBearing(90);
$simplified = $processor->simplify($polyline);
Can you provide the polyline's latitude/longitude values? (e.g. via email: mjaschen@gmail.com)
This is my lat/lng values https://gist.github.com/andriyandriyan/475859e51632a1259a7e57e0aced402f
Fixed in versions 3.2.1 and 2.6.1.
Thanks again for reporting.
Hello, I've been getting an ErrorException in line 206 of the BearingEllipsoidal.php file.