Author Topic: Removing Unrelated People in Gedcom  (Read 7483 times)

Offline Copernicus

  • RootsChat Extra
  • **
  • Posts: 7
  • Bohemian Coat of Arms
    • View Profile
Removing Unrelated People in Gedcom
« on: Sunday 22 March 09 07:36 GMT (UK) »
Hello,

I've been looking all over the internet and can't find a single thing pointing to a solution to this:

Basically, a while back (maybe a year or two ago) I found a public gedcom file which had a decent mesh with mine through a relative on my father's side.

Logically, I thought of merging it into mine, since, being related through that person / people, I presumed all people in that tree were related.

Of course, I ended up being wrong, and there was a lot of garbage in there (i.e. people unrelated to the main tree, essentially being several trees in the main file).

Now, i've dealt with it being in there for a while, but it messes up the reporting, saying this Robert Le Shearman from 1281 is the oldest person in my family, when he's completely unrelated and having a whole bunch of Scandinavian lines which have absolutely nothing to do with me.  Any sort of other tool I use it with, everything gets wrong, since unrelated people are calculated to be related to me and it's something that is getting fairly troublesome.

So, my question is:  Is there a tool / program out there that removes unrelated individuals from a Gedcom file, which would correct this issue?

Note: I would do this manually, but I have 7500 people in my file (probably half of which are garbage and unrelated) which would take an eternity to do in that fashion.

Thanks!
Czech Republic / Austria
Germany
Italy
Ireland
England (Cheshire / Midlands)

Offline Paul Caswell

  • RootsChat Aristocrat
  • ******
  • Posts: 1,674
  • Me in my natural state
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #1 on: Sunday 22 March 09 20:43 GMT (UK) »
Hi Copernicus,

Do you use an FH program to work with you GedCom? If so which one do you use?

Paul
Caswell - Durham(Jarrow), Northumberland(Berwick), Dorset(Netherbury)
Drury - Middlesex(Kensington), Shropshire(Oswestry/Selattyn)
Turner - Dorset(Parkstone)
Speight - Essex(Braintree), Kent(Gravesend), Westmorland(Kendal)
Stockley - Dorset(Corfe Castle)
Amey - Suffolk(Haverhill)
Cousins - Norfolk(Ketteringham)
Sears - Bedfordshire(Potton), Cambridgeshire(Gamlingay)
Census information is Crown Copyright

Offline Copernicus

  • RootsChat Extra
  • **
  • Posts: 7
  • Bohemian Coat of Arms
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #2 on: Sunday 22 March 09 22:33 GMT (UK) »
Familytreemaker.
Czech Republic / Austria
Germany
Italy
Ireland
England (Cheshire / Midlands)

Offline andycand

  • RootsChat Marquessate
  • *******
  • Posts: 4,384
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #3 on: Sunday 22 March 09 23:12 GMT (UK) »
Hi

I'm not familiar with Familytreemaker but presumably it has a backup facility. If so, do you have a backup from prior to the merging of the trees? You should then be able to restore your tree (I would do it with a different name to your current tree). Someone with knowledge of FTM would be able to advise you so that you don't lose your current tree.

Andy


Offline Nick29

  • Deceased † Rest In Peace
  • RootsChat Marquessate
  • ********
  • Posts: 6,273
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #4 on: Monday 23 March 09 09:00 GMT (UK) »
In the past I've used software called The Complete Genealogy Reporter which comes with a utility called Gedpad Pro, which is a useful GEDCOM editing facility which is good for weeding out orphaned entries.  I think you can also do search and replace and similar stuff with it.

RIP 1949-10th January 2013

Best Wishes,  Nick.

Census information Crown Copyright, from www.nationalarchives.gov.uk

Offline skb

  • RootsChat Veteran
  • *****
  • Posts: 862
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #5 on: Monday 23 March 09 17:32 GMT (UK) »
Are you able to create a descendant or ancestor tree (within Family Tree maker) which only contains the people you want? If so you can export this selection and rebuild your gedcom/Family Tree Maker file.

You may also be able to do it by creating a descendant tree of a branch you DON'T want, then doing a "Delete individuals" from the "People" menu.
Byers (Salford & London)
Stringfellow (Salford & Chorley)
Holmes (Manchester & Birmingham)
Goulding/Golden (Birmingham & Lincolnshire)
Bassett (Manchester & Salford, Staffordshire)
Child (Lincolnshire)
Belshaw (Salford)
Hallsworth (Eccles & Salford)
Vernon (Bury & Chapel en le Frith)

Census information is Crown Copyright, from www.nationalarchives.gov.uk

Offline Suttonrog

  • RootsChat Aristocrat
  • ******
  • Posts: 1,739
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #6 on: Monday 23 March 09 17:37 GMT (UK) »
Family Historian has a split tree wizard which I have used with great success. They have a free trial version but I'm not sure if this operates within the trial.

Rog

Offline downside

  • RootsChat Marquessate
  • *******
  • Posts: 4,208
  • Make my day
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #7 on: Monday 23 March 09 23:41 GMT (UK) »
1) You are not editing a GEDCOM file, you are editing a .ftw file if you are using FTM software.
2) You can delete either individuals or whole branches in FTM.
3) If you did the merger sometime ago then you probably do not have a pre-merge backup to fall back on.  The standard .fbk backup file in FTM gets overwritten during every session.

It looks like you are going to have to do it the hard way and manually delete those branches and or individuals you do not want.
Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
Lancashire: Gradwell

UK Census information is Crown Copyright, from www.nationalarchives.gov.uk

Offline Glen in Tinsel Kni

  • RootsChat Aristocrat
  • ******
  • Posts: 1,455
  • Scottish Borders
    • View Profile
Re: Removing Unrelated People in Gedcom
« Reply #8 on: Friday 27 March 09 13:46 GMT (UK) »
There are really only two ways it could be done accurately and both need an element of manual work. I am always wary of editing a file by way of a descendants of a primary individual because there are often duplicated names that can be removed/included in error by an automatic process.
Manual removal is a bit of a chore but does offer a bit of control.

First thing to do is make sure the current .FTW file is backed up to a disc or memory stick, that is a MUST DO step, if you happen to delete someone in error and don't have the file backed up then it will cause all sorts of problems later. If you do have the file backed up you can start all over again.

Regular backups are important anyway but they are vital before you attempt any major editing on a file.

Method 1
1. Open FTM and go through the list of individuals, select the ones to delete and remove them by using the People>Delete Individual process.

You are picking the names you want to DELETE via this method

Method 2
1. Export File>Selected Individuals

You again have to go through the Index of Individuals and choose the ones you want to include

You are picking the names you want to INCLUDE (ie those you want to keep) via this method.

2 save the file (with a name that makes it easy to identify) as either an .FTW file or a GED format.

***Note though that if you have images attached to anyone that you wish to keep that the .FTW filetype is the one to use, the .GED format cannot transfer images***


Either way round if the file has a lot of names it is a slog going through the names one by one and before you try to change anything you MUST create a backup copy.