[udig-devel] copy/move/rotate groups of polygons
Jesse Eichar
jeichar at refractions.net
Mon Jan 21 06:00:45 PST 2008
Hi Kurt,
There is support for moving a single geometry but not to rotate or to
move a collection of geometries.
Here is one way you might accomplish this:
Create a new tool that is similar to the Edit tool but add an
activation behaviour that puts all the selected features on the edit
blackboard
Create a behaviour similar to the MoveGeometryBehaviour that moves all
the geometries on the edit blackboard
Optionally add a rotation behaviour to the tool
The work flow for this would be:
Activate the selection tool (not edit tool) select some features,
copy, paste, activate your tool, move features to new location.
Another idea might be to create a new paste operation that pastes the
features on the edit blackboard at the location of the mouse pointer
and then you would use a tool with the move all geoms and rotate
behaviours to fine tune the position.
Jesse
Le 19-Jan-08 à 8:40 PM, Kurt Heston a écrit :
> I'm new to uDig development (also relatively new to using it).
>
> The mapping I'm doing entails creating many similarly sized polygons
> adjacent to one-another. Think of parking spaces that are all the
> same size in many, many parking lots. The ability to highlight a
> group of them, copy, then paste and move new ones together would
> really speed things up for me. Rotating them in place as a group
> would be helpful, too.
>
> I've begun looking into Jesse's code behind the edit plug-in and am
> starting to see how one might add the above functionality. However,
> I wanted to make sure I haven't missed a uDig plug-in that's already
> been written to do this before getting too deep into it.
> Suggestions welcome.
>
> --Kurt
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20080121/c56e6777/attachment.html
More information about the udig-devel
mailing list