Untitled
By: a guest | Apr 23rd, 2010 | Syntax:
None | Size: 1.15 KB | Hits: 38 | Expires: Never
RasterElement::GeoreferenceModified Causes Multiple Undo Action To Be Added To Undo Stack
01) Start Application from install which has PlugInSamplerQt.dll.
02) Import AST_L1B_00304282006155031_05022006131334_SWIR_Swath.tif.
03) Click Zoom To Fit button, contained by Display Toolbar.
04) Ensure Geo Toolbar is displayed.
05) Select Geo->Georeference.
06) Select GCP Georeference in resulting dialog, then click OK.
07) Import fe_2007_36047_arealm.shp.
08) Ensure shapefile is overlaying the tif image.
09) Note the contents of the undo stack, by clicking the down-arrow button located next to Undo Button, contained by Standard Toolbar.
10) Select Geo->Georeference.
11) Select SampleGeoref in resulting dialog, then click OK.
12) Note that contents of the undo stack contain many new undo actions (likely multiple "Set Object BoundingBox").
Step12 notes unexpected behavior. Expected one undo action to be added to the undo stack.
Note: The problem is not limited to selecting a different georeference plugin. Appears the problem occurs anytime RasterElement::GeoreferenceModified is emitted, while a geofeature is displayed within that RasterElement's view.