Using a spatial group-by and having trackDistance=0 doesn't work with patrol hours, always return 0 patrol hours
We thought we fixed this in 5.0, but it is still happening in all the versions I tested (various 5.0.x versions, including 5.0.2 and 6.0.3a3):
To Reproduce using the Example Conservation Area:
-Create a new patrol with 2 waypoints of the same spot (11.5, -0.6), (11.5, -0.6)
-Change the times to be 1:00 and 2:00 on the waypoints
-Set the track to be generated by the waypoints
-Press "Update start and end times" on the patrol summary
-Run a Patrol-Summary Query for "Number of Patrol Hours" and "Number of Active Patrol Hours"
-Filter for the patrol id you just created.
-Run it, you should see 1Hr for each value
-Add Area group-by "Patrol Sectors"
-Should show 1 hr in sector 3, but it shows zero at the moment.
To Reproduce using the Example Conservation Area:
-Create a new patrol with 2 waypoints of the same spot (11.5, -0.6), (11.5, -0.6)
-Change the times to be 1:00 and 2:00 on the waypoints
-Set the track to be generated by the waypoints
-Press "Update start and end times" on the patrol summary
-Run a Patrol-Summary Query for "Number of Patrol Hours" and "Number of Active Patrol Hours"
-Filter for the patrol id you just created.
-Run it, you should see 1Hr for each value
-Add Area group-by "Patrol Sectors"
-Should show 1 hr in sector 3, but it shows zero at the moment.
Leave a comment