Description:
|
As reported in UDIG-1905 and UDIG-1911 we are up against the limitations of using the bbox based selection tool (as supplemented with tableview to refine the selection). With that in mind here is a request for an additional selection tool.
Highlighter selection tool:
- Used to scribble a line on the screen
- Click to record a single "point"
- Click and drag to draw a new line
- Hold down shift to draw a second line (or point)
- Hold down control to remove an existing line
- Scroll wheel allows control of line "width"
- The line is processed into a Filter by using
- The points are transformed into world coordinates, and then recorded as a MultiGeometry. This is transformed into data CRS to form a filter
- The DWithin filter is used, using a similar transform as above to establish the "distance" in data CRS
- While using this tool visual feedback is used provided
- Draw command using line width and the transparent selection color
- No "border" is added to the selection to indicate the use of dwithin; this will make the result look more like a highlighter
- Aside: Normal selection feedback is used to show the result of feature selection
- Experiment: We may be able to create a draw command from the existing filter; allowing a clean starting place for using Shift and Control to edit the multi geometry
- Experiment: We may be able to "paste" a geometry into the selection while using this tool
Aside: We have a "selection" tool category as many downstream uDig SDK apps provide additional "custom" selection tools into the mix. Two of the most successful I have seen are a) toogle definition of an ID filter b) and a highlighter tool as described above
|