Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] know the area of a feature dynamically

Hi List,

I’ve a problem: I want know the area of the feature in Editing when the user move a vertex.

Now I use the event editFeatureChanged(Feature feature), but this event occurred only after the feature in edit changes.

I use a java.util.Timer for read the property Feature.getDefaultGeometry().getArea() every second when a Feature is in edit,  but this property not change before the edit feature changes.

how can I know the area of a feature dynamically?

 

thanks


Back to the top