eneec / geoda

Automatically exported from code.google.com/p/geoda
GNU General Public License v3.0
0 stars 0 forks source link

POLYID in weights can't be found in gda file #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found this issue when I tested saving grouped columns:

What steps will reproduce the problem?
1. Open Columnbus.gda
2. Group POLYID and NEIG
3. Save
4. Reopen Columnbus.gda
5. Error dialog: Specified key value field "POLYID" on first line of weights 
file not fount in currently loaded Table.

since POLYID is just grouped, so should be able to find in VarGroup. 

Original issue reported on code.google.com by lixun...@gmail.com on 25 Feb 2014 at 6:25

GoogleCodeExporter commented 9 years ago
Nice catch.  Something I never tested.  Once a variable is grouped, it can no 
longer be used for a new key id, but what happens to existing keys?  Perhaps we 
should block grouping variables used as a key id.  Will have to think about 
this.

Original comment by mmcc...@gmail.com on 25 Feb 2014 at 6:31

GoogleCodeExporter commented 9 years ago
Fixed: POLYID (or any key field) can still be found even after it is added to a 
space-time group.  Solved by SVN commit 3079.  Will appear in GeoDa 1.5.27.

Original comment by mmcc...@gmail.com on 26 Feb 2014 at 10:39