On Fri, Oct 19, 2012 at 1:44 PM, Peter Landgren <peter.talken@telia.com> wrote:
Jesse Meyer skrev 2012-10-19 20:07:
I do wish that Gramps's location handling was better though.  The ability to nest locations, for example, so that Sweden is one location, Stockholm is a subset of Sweden, and a specific address is a subset of Stockholm.
Doug and I have discussed this and made some tests some time ago. One problem is that a working hierarchy in one country does not necessary
work for other countries .
I'm not seeing why the hierarchy needs to be defined in the code, as long as it is possible to specify that place B is a subset of place A, and that place B shares certain fields with place A.
So, for example, Sweden would have a country field of "Sweden".  Stockholm would mark that it shares the country field with Sweden, but the other fields would be different.
Hmmm, one way of doing that would be that is that a sublocation inherits all information of the parent location unless the information is specifically supplied for the sublocation.
Can you see any problems with this setup?  Well, other than someone would have to code it.  ;)