id summary reporter owner description type status priority milestone component version resolution keywords cc cpu platform 1260 Georectifier: RMS broken q076256 grass-dev@… " '''Issue 1:'''[[BR]] Rectifying raster maps in xy breaks when RMS is calculated. Raster map was imported and 6 RCP's defined. Whereas first rectification 1st order was set. Number of RCP's was increased up to 6. Now RMS selected - ok, then rectification set to 2nd order and RMS selected -> see following backtrace:[[BR]] 'ascii' codec can't decode byte 0xfc in position 44: ordinal not in range(128) Traceback (most recent call last): File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 1292, in OnRMS File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 1603, in RMSError File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcmd.py"", line 573, in RunCommand File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcmd.py"", line 77, in __init__ UnicodeDecodeError : 'ascii' codec can't decode byte 0xfc in position 44: ordinal not in range(128)[[BR]] Points File:[[BR]] {{{ # Ground Control Points File # # target location: ImportTiff # target mapset: Imported # source target status # east north east north (1=ok, 0=ignore) #----------------------- ----------------------- --------------- 231.465005763 994.904350561 -120.0 50.0 1 303.590034425 6236.23223289 -120.0 51.0 1 6926.89994233 6240.63506344 -118.0 51.0 1 7001.69915 1005.996601 -118.0 50.0 1 3613.53113033 3595.71196078 -119.0 50.5 1 5280.275 4912.02606209 -118.5 50.75 1 }}} [[BR]] '''Issue 2:'''[[BR]] Now selection rectification 3d order immediately expands the GCP list with further 4 entries with 0 values, RMS selected shows message: not enough GCP's. Now rectification 2d order selected and RMS run -> same as up here. [[BR]] Points File:[[BR]] {{{ # Ground Control Points File # # target location: ImportTiff # target mapset: Imported # source target status # east north east north (1=ok, 0=ignore) #----------------------- ----------------------- --------------- 231.465005763 994.904350561 -120.0 50.0 1 303.590034425 6236.23223289 -120.0 51.0 1 6926.89994233 6240.63506344 -118.0 51.0 1 7001.69915 1005.996601 -118.0 50.0 1 3613.53113033 3595.71196078 -119.0 50.5 1 5280.275 4912.02606209 -118.5 50.75 1 0.0 0.0 0.0 0.0 0 0.0 0.0 0.0 0.0 0 0.0 0.0 0.0 0.0 0 0.0 0.0 0.0 0.0 0 }}} [[BR]] At this time the GCP #7 can not be defined, a click in the map with setGCP always set the points in GCP #10 no matter what GCP entry in the list is selected.[[BR]] Now added a 7th GCP and choosed rectification 2d order, RMS works fine. But if there are only 6 GCP activated the behavior is as in the 1st case up here. In this case there shall be a warning: not enough points, obviously for 2nd order 6 GCP are not enough![[BR]] '''Issue 3:'''[[BR]] Removing one or more GCPs from the list, saving GCPs and end and restart Georectifier do not work, see trace below:[[BR]] Traceback (most recent call last): File ""E:\Segeln\Karten_Digitalisieren\GRASS-7.0.SVN\etc\gu i\wxpython\wxgui.py"", line 254, in OnGCPManager gcpmanager.GCPWizard(self) File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 240, in __init__ File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 896, in InitMapDisplay File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 1968, in LoadData File ""c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc- mingw32/etc/gui/wxpython/gui_modules/gcpmanager.py"", line 1222, in ReadGCPs IndexError : list index out of range [[BR]] Points File:[[BR]] {{{ # Ground Control Points File # # target location: ImportTiff # target mapset: Imported # source target status # east north east north (1=ok, 0=ignore) #----------------------- ----------------------- --------------- 231.465006 994.904351 -120.0 50.0 1 303.590034 6236.232233 -120.0 51.0 1 6926.899942 6240.635063 -118.0 51.0 1 7001.69915 1005.996601 -118.0 50.0 1 3613.53113 3595.711961 -119.0 50.5 1 5280.275 4912.026062 -118.5 50.75 1 0.0 0.0 0.0 0 0.0 0.0 0.0 0 0.0 0.0 0.0 0 0.0 0.0 0.0 0 }}} [[BR]] '''Workaround:''' Delete the empty entries in points AND in points_bak file and restart[[BR]] '''Hint:''' Even more than one empty line at the end of one of the points files prevents Georectifier from starting up [[BR]] '''Issue 4:'''[[BR]] Removing a GCP form the the list does not clear the Backward error field. " defect closed blocker 7.0.0 wxGUI svn-trunk worksforme wingrass, gcp, georect x86-32 MSWindows 2K