I have completed the first review of my porting of the ArcTool from
Axios' pakages to eu.udig.tools

Here is the code:

https://github.com/mcfoi/udig-platform/tree/arc-tool-fixes/plugins/eu.udig.tools

Things to note:
- the ArcTool is generally working as in uDig 1.2.0.
- I've added a couple of enablement options to limit the ArcTool to
LineString and MultiLineString layers (see attachment)
- there is a certain complexity in the packaging structure of the
eu.udig.tools plugin. This is probably due to the differences in
design in the Split and Merge tools. I would love to rationalize this
structure.. ..but I do not know which are the "best practices" or
guidelines (e.g: do 'behaviours' need a specific package or can be put
with the main tool class - like in the case of 'split' tool which has
no ".behaviours" package?)

More:
- I found a BUG: arcs are not drawn if the snap option is enabled and
the THIRD point triggers the snapping event. If just the first and
second point are snapped while the last is not (is drawn so that no
point is available within the snapping range), the draw command
succeeds and the Arc is created. This BUB is inherited from the Axios
tool and can be experienced also in uDig 1.2.0 with  Axios Tools
1.3.3.201103041300

Marco
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to