Opened 8 years ago
Closed 8 years ago
#3291 closed defect (duplicate)
Zoom to selected feature not working when cat is not the first column
Reported by: | hcho | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.1 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | x86-64 | Platform: | Linux |
Description
When cat is not the first column in the attribute table, select and zoom to feature in the attribute table manger does not work. In the Console table, I can see the following traceback:
Traceback (most recent call last): File "dist.x86_64-pc-linux- gnu/gui/wxpython/dbmgr/base.py", line 1923, in OnDataDrawSelectedZoom self._drawSelected(zoom=True) File "dist.x86_64-pc-linux- gnu/gui/wxpython/dbmgr/base.py", line 1779, in _drawSelected cats = map(int, fn()) ValueError : invalid literal for int() with base 10: '3215929.3665139'
The key column is not always the first column, so this assumption should be avoided.
Note:
See TracTickets
for help on using tickets.
This is a long known problem: #1735