[FWTools] FWTools Shapes Refresh Problem

Frank Warmerdam fwarmerdam at gmail.com
Tue Apr 5 12:02:17 EDT 2005

On Apr 5, 2005 10:18 AM, David Legault <dlegault at vantpoint.com> wrote:
> Hello Frank, 
> I've been developping stuff for OpenEV recently and the contractor asked me
> to move on to FWTools to test compatibility. 
> I found an issue which I can't find the cause which works in OpenEV, but
> fails in FWTools. 
> Basically, I have an image and when the user clicks on the map, it displays,
> using a shapes layer, a rectangle of fixed width thats surrounds the clicked
> location. This rectangle is then plotted into another gui window which works
> fine. The problem encountered is that when the user clicks elswhere, the
> original rectangle is deleted (the shapes of the layer are deleted) and the
> new one is added to the shapes. 
> Now in OpenEV 1.80 the refreshing worked just fine, but in FWTools, it draws
> the rectangle once and on any subsequent clicks, the rectangle isn't drawn
> to the new location and what more, the original rectangle stays drawn even
> if it's confirmed that there aren't any shapes left in the object. 


Um, I'm afraid I have no idea why this would work differently.

Could you provide something focused on this issue that I could
do a bit of testing with?

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the FWTools mailing list