wxGUI: traceback when using alternate projection for map display coords
|Reported by:||hamish||Owned by:|
|Keywords:||map display, coordinates||Cc:|
I noticed a bug in the way that the EPSG codes are loaded in the wxGUI preferences which leads to a traceback error when you use the projected coordinates setting from the map display lower toolbar.
The trouble is that when you press the "Load EPSG codes" button it adds (or rather does not remove) the "<>" from the end of the line. Often you don't notice that since the line is long and off the edge of the text box.
If you press Enter in the epsg code above that gets stripped off, but if you don't it gets saved to the ~/.grass6/wx preferences file.
start the gui, load+display a map, settings -> preferences -> projection tab
click the "Load EPSG codes" button then look at the end of the +proj4 string. If you save it like that you get the breakage. If you go up a line to the epsg code and press Enter the <> gets stripped off.
(then in the map display window lower toolbar do: Coodinates -> Projection -> tick the box in the bottom left -> then back to Coordinates in the lower toolbar drop down menu)
ps- for me it was a random default epsg code loaded*, maybe default it to 4326 after the EPSG file is loaded, if it began as set to None? (*spearfish to australian utm)