-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
_optimize_orientation_by_area_orient fails when you pass the following
area_shape = Polygon([(-1000.0, -500.0), (1000.0, -500.0), (1000.0, 500.0), (-1000.0, 500.0)])
a_rectangular_area = prospect.Area(name="test_area", shape=area_shape)
coverage = prospect.Coverage.from_transects(
name="test_Coverage_from_transects",
area=a_rectangular_area,
optimize_orient_by="area_orient",
orient_axis="short"
)The code that determines the point coordinates is off. Need to redraw the geometry to clarify how to fix. May only be a problem for shapes where the min bounding rectangle is already aligned on the axis of interest.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working