Closed lsaloio closed 1 year ago
Thank you for the detailed issue report. I'll try and look into this next week.
Found the issue, checked in the fix. A single line of missing code related to the bulk edit functionality that was added a few months back was the source of the issue. Thanks again for highlighting this issue.
No problem, glad it was solved!
Summary
Unable to label a feature as a different secondary class by selecting it on the side-menu in the labeling tool
Overview
In the labeling tool, I selected one of the secondary class properties that I had defined in the project builder and drew a shape around a building. When I saved the labeled task files and loaded them onto the project viewer, the shapes were not labeled as the secondary class property that I selected before drawing them. The secondary class options were 0, 1, 2, 3, 4, and 5, but no matter what I selected each shape remained labeled as 0, which seemed to be the default since it was the first secondary class that I added. The only way I was able to successfully apply a different secondary class in the labeler was to draw the shapes first, click the rectangle select button, and then click the shapes and edit the secondary class that way (rather than before/as I drew them).
Steps to reproduce
Expected result:
Before drawing a shape around a building in the labeler, I selected one of the secondary class options that I had previously defined in the project builder to label the building as. Once labeled and loaded into the project viewer, I expected to see the features labeled as the secondary classes that I selected for them.
Actual result:
The features were not labeled as the secondary classes that I selected for them, but instead remained labeled as the default secondary class that was already selected before I changed the selection.
Helpful screenshots
Project builder configuration:
Labeling features with secondary class selected on side-menu:
Results of labeled features in project viewer: