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
Describe the bug
I'm a project manager that does want to create a new project on the HOT TM. I import a file as my area of interest and want to create small tasks of it. When I use the trim functionality, it does not fully trim back to my area of interest. My whole area of interest is not covered by tasks.
To Reproduce
Steps to reproduce the behavior:
Click Manage
Create new project
Step 1: Define area > Select file > select geojson file from my computer > Next
Step 2: Set task sizes > smaller ( I want to have tasks size 0.08km2) > Next
Step 3: Trim Task Grid > Trim
This is where you see that the trimming excludes some of the parts of the area of interest.
Screenshots
When clicking just Trim:
When checking Trim the tasks to define the exact Area of Interest for Mapping. And than Trim:
In orange you see the area of interest I uploaded, which is thus not completely covered by task areas.
Attached you can find as well the area of interest that I am using for this. AoI for HOT TM.zip
The text was updated successfully, but these errors were encountered:
Just tested and I got the same problem, this is the first time I've come across this issue and must be related to the method that TM uses to select tasks for trimming. @ramyaragupathy is there any more info you can give us on how the trim process works - and could TM shift to a more 'inclusive' trim method that would enure that the AOI is always fully covered by tasks?
Findings:
The code first checks if a grid tile (tile) is fully within the AOI using the aoi_multi_polygon.contains(tile) condition.
If the tile is completely contained, it is directly added to the intersecting_features list without further modifications.
If the tile is not fully contained, the code calculates the intersection of the tile with the AOI.
If the intersection is empty it is skipped (Correct) or if it is not of type Polygon or MultiPolygon, the tile is skipped again. (Cause of the problem).
Otherwise, the intersected portion of the tile is clipped to the AOI, and the modified feature is added to intersecting_features
So,
When a tile partially overlaps the AOI, the intersection can sometimes result in geometry types like GeometryCollection or LineString, which are not handled by the current implementation.
Describe the bug
I'm a project manager that does want to create a new project on the HOT TM. I import a file as my area of interest and want to create small tasks of it. When I use the trim functionality, it does not fully trim back to my area of interest. My whole area of interest is not covered by tasks.
To Reproduce
Steps to reproduce the behavior:
This is where you see that the trimming excludes some of the parts of the area of interest.
Screenshots
When clicking just Trim:
When checking Trim the tasks to define the exact Area of Interest for Mapping. And than Trim:
In orange you see the area of interest I uploaded, which is thus not completely covered by task areas.
Attached you can find as well the area of interest that I am using for this.
AoI for HOT TM.zip
The text was updated successfully, but these errors were encountered: