Here is a new Mapiah release: 0.2.24.
This release has tons of bug fixes that were completely preventing Mapiah use. After trying to use it to edit some surveys from a recent trip to Peruaçu I fixed the most problematic ones. These are the good news.
The bad news is that apparently nobody is using Mapiah. Lets hope that changes in the future.
# Changelog
## 0.2.24 - 2025-12-04 - The Peruaçu data processing release
* New features:
* When a single element is selected, show its properties in the status bar.
* Simplification calculated values should use "current decimals".
* When a line is deleted, if it's the last line of an area, the area should also be deleted.
* When deleting the second to last line segment of a line, the whole line should be deleted.
* When the last area border THID of an area is deleted, the area itself is deleted.
* On 'single line edit' mode:
* when a endpoint is selected, clicking on a control point and dragging should work.
* On single element selected status bar, include the name of the unknown PLA type when the element type is unknown.
* Fixed bugs:
* Lines and points with unknown types would throw when being drawn.
* Walkway line type not recognized.
* Floor-step (and all hyphenated) line types not recognized.
* 'UI: simplify line through Ctrl+L' test fails with widget width overflow.
* When simplifying a line, line segment options are being lost.
* Line segment options being lost when saving preserving original lines.
* When simplifying a line being node edited, the visual editing points are not immediatly updated.
* On certain occasions, when simplifying straight lines to Bézier, there were Ss created on the resulting lines.
* Line types "Floor Step" and "floor-step" being presented.
* On 'simplify line forcing to Bézier' the undo description says a generic 'substitute line segments'.
* On 'single line edit' mode:
* if the direction of the line is inverted, the screen does not show it;
* if the user clicks on another element, the 'Multiple elements clicked' dialog box is presented instead of just selecting the new element;
* when end points are deleted, they remain visually shown as part of the line;
* when dragging several end points, the clicked at button down end point isn't positioned exactly at the end position of the mouse;
* after deleting line points, the shape of the line would be different at the 'single line edit' view and the normal view;
* after deleting several line points, the line is not click-selectable at its new line segments.
* Moving lines moving only the selection handles but not the line itself.
* Infrastructure maintenance:
* Creating TH2FileEditElementEditController._lineSegmentsWithOptionsToPreserveSimplification set to keep track of line segments that have options to preserve during simplification.
* MPEditElementAux.separateLineSegmentsPerType() moved to TH2FileEditElementEditController.groupLineSegmentsForSimplification().
* THHasOptionsMixin constructors now receive optionsMap and attrOptionsMap parameters to initialize the element with existing options maps.
* Identifying methods and classes actually used in line simplification with a 'MPSimplification' prefix in their names.
* Moved fromExisting constructors from individual MPCommand classes to MPCommandFactory:
* add:
* area;
* areaBorderTHID;
* element;
* empty line;
* line;
* line segment;
* point;
* scrap;
* XTherionImageInsertConfig;
* remove:
* area;
* element;
* line;
* point;
* scrap;
* XTherionImageInsertConfig.
* Removed:
* MPEmptyLinesAfterMixin;
* MPScrapChildrenMixin.
Rodrigo