From: Enno B. <enn...@gm...> - 2019-06-21 19:31:09
|
Hi Emma, > It is Min Släkt that *exports* the text information associated to > places every time a place is used in an event related to a person. > Gramps imports the place data from the GEDCOM. If I for instance have written a short text about Malmö that should be displayed on the page for Malmö, this text will be exported with every person that has any event related to Malmö. So, if I have 50 births and 50 deaths in Malmö, Min Släkt will export the text on the Malmö page 100 times, and Gramps will of course import all these instances. Hardly a bug in Gramps, but vital to bear in mind when exporting from Min Släkt (I haven't contacted the author about this, as it was only yesterday that I, with help from the people here, > learnt how easily I can browse the GEDCOM file and thereby pinpoint the problem). Ah, ok, I get it. And looking at the GEDCOM standard, it should be possible to do it right, but that depends on the GEDCOM exported by your software. In most cases, you'll find PLAC records at level 2, meaning that they appear as 2 PLAC <name> in a GEDCOM file, preceded by a line like 1 BIRT or 1 DEAT, or some other event type, 1 MARR for a family. Now, when you have a note attached to a place, the NOTE line should start with 3 NOTE, meaning that it belongs to the place. If it starts with 2 however, it belongs to the last line before it that starts with 1, which is the event, and Gramps will interpret it as an event note. This is an essential GEDCOM principle, which says that details always have a number that is higher than the object that they belong to. If the notes you mention are indeed exported as place details, with a level number that is 1 bigger than the PLAC line before them, one can argue that Gramps should attach those to the place, and detect duplicates. I have not tested whether that actually works, but it seems to be the most logical. I just checked the GEDCOM file that you uploaded earlier, and I can't find any 3 NOTE lines in that, so you will have to check things yourself on a bigger GEDCOM file. Regards, Enno |