You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the original method when passed with a positive shrink distance can result in minLon > maxLon. I added the additional check on lat just to be clear. Maybe there's something more elegant :D
final result calling above vs shrink:
shrunken bbox coords -> [-118.40360502789,33.96665666694,-118.32986907162,34.085855983985];
The text was updated successfully, but these errors were encountered:
victusfate
changed the title
bumped into a shrink call on a BoundingBox that yielded the bbox that goes around the globe
bumped into a shrink call on a BoundingBox that yielded a bbox that goes around the globe
Mar 9, 2021
believe the issue is with BoundingBox::shrink + BoundingBox::transformBoundingBox
geokit/src/BoundingBox.php
Line 200 in 793e6f8
geokit/src/BoundingBox.php
Line 219 in 793e6f8
example input to recreate:
the original method when passed with a positive shrink distance can result in minLon > maxLon. I added the additional check on lat just to be clear. Maybe there's something more elegant :D
below is my local fix
final result calling above vs shrink:
shrunken bbox coords -> [-118.40360502789,33.96665666694,-118.32986907162,34.085855983985];
The text was updated successfully, but these errors were encountered: