[udig-devel] feature editing vs events (or who did what when)

Jody Garnett jgarnett at refractions.net
Wed Jun 7 08:00:30 PDT 2006


Jesse Eichar wrote:
> I have added detection during editing so you are notified when the 
> data you are editing changes.  Unfortunately the event model is really 
> bad and I am having difficulty determining whether or not the change 
> requires an update to the geometry or not.  Take this as an example.  
> Suppose you are editing a polygon and some one else modifies that 
> polygon.  You want to know that the polygon has changed so that you 
> can decide to ignore the change and overwrite it, or cancel you 
> changes, get the update and restart you editing.
>
> Well the problem comes that the event system is VERY basic and I can't 
> tell what changes are occurring from external sources and what are 
> from the current source.  I also can't determine if the geometry has 
> been modified or if attributes have been modified.  I will make 
> changes so that it is less obtrusive for the time being until I can 
> improve slightly on the events.
Jesse you may be able to tell based on the transaction associated with 
the event. If you have specific needs lets jump on the FM branch and 
make sure the next lot of events is suitable for you?

Jody




More information about the udig-devel mailing list