Questions tagged [gedcom]

GEDCOM, an acronym for GEnealogical Data COMmunication.

A proprietary and open de facto specification for exchanging genealogical data between different genealogy software. (From Wikipedia)

45 questions
0
votes
1 answer

Turn raw gedcom-format string into structured json

I'm working on a Gedcom parser. The raw data for it looks like this: 0 HEAD 1 GEDC 2 VERS 5.5.5 2 FORM LINEAGE-LINKED 3 VERS 5.5.5 1 CHAR UTF-8 1 SOUR GS 2 NAME GEDCOM Specification 2 VERS 5.5.5 2 CORP gedcom.org 3 ADDR 4 CITY LEIDEN 3 WWW…
0
votes
1 answer

How to click capture an image WITHOUT Selenium?

I am using a website called https://www.familyecho.com/ it has an API to create these family trees. https://familyecho.com/?page=api this is the API website that has information about the API. Now that I have generated a family tree I want to…
Flow
  • 846
  • 9
  • 24
0
votes
1 answer

How do I use a depth as referal/delimater to a flatfile with line numbers as columns?

I am working on a genealogy project and I am trying to read the GEDCOM (*.ged) file format. Instead of using columns, they choose to use lines and on each line has a root node and following sub node with its affiliated values, and their associated…
Barry Dick
  • 161
  • 3
  • 16
0
votes
1 answer

Writing Data to File then Moving to Desktop

I'm sure this is really simple but I can't figure out how to make a parsed result into its own file then move it to my desktop using python. Here is my code so far. I just want to save the result "names" as its own file then move it to my desktop…
Justin Benfit
  • 423
  • 3
  • 11
0
votes
0 answers

GEDCOM compatible file output in C#.NET

I tried to create a simple interface for building a gedcom compatible text file using C#.NET. I am stuck with proper FAM record creation (I mean, something is logically wrong in my code). I believe that tester.cs has a complete information of…
Bimal Poudel
  • 1,214
  • 2
  • 18
  • 41
0
votes
0 answers

How to draw dictionary in the form a family tree structure?

I have used prettytable to print my data that looks like this: I have stored it in the form of dictionary where each key is husbandID and values are children ID's and same with wifeID. I want to draw out a family tree like structure. I do not know…
ms1941
  • 35
  • 6
0
votes
1 answer

How to test this GEDCOM parser?

I was trying to test this parser with my gedcom file. I do not understand how to call some of the functions and what parameters are to be given. Example, in the families function, I need to pass an individual as the parameter but if I type a…
0
votes
1 answer

Out of memory error when reading and parsing a .ged file into a sqlite database

I have written the following program that reads and parses a .ged file (genealogy data) and stores it in an SQLite database. The program works, however when a large file is loaded, I get an "out of memory exception". I'm new to Visual Basic, but it…
0
votes
1 answer

import/export GEDCOM files

As part of a project, I have to include the importing and exporting of GEDCOM files to be inserted/taken out of a database. I am finding it very hard to find how to write the files as there isn't really any tutorials on how they work. Does anyone…
0
votes
1 answer

Checking an external file against set of functions and printing error alongwith line number using c++

I have a GEDCOM file, which I am supplying to my program, my program checks the content of GEDCOM file against a set of functions. If the contents of file, fail to match the requirements of function, it should throw an error along with the line…
Harshit Singh
  • 11
  • 1
  • 1
  • 3
0
votes
2 answers

Using a Python GEDCOM parser: Receiving bad output (gedcom.Element instance at 0x00...)

I'm new to Python, and I can say off the bat my programming experience is nominal compared to many of you. Brace yourselves :) I have 2 files. A GEDCOM parser written in Python that I found from a user on this site (gedcom.py -…
Jay
  • 45
  • 4
0
votes
2 answers

Reading GEDCOM files: How to substring the corresponding birth day, month, and year, into an Integer variable from an input file to an output file

I have an input GEDCOM file with tons of individual/family records. The purpose is to format their data into this form: name(p6, 'Harry Buis'). birth(p6, date(1927,11,17)). death(p6, date(2001,08,21)). famc(p6, f3). fams(p6, f2). I have been able to…
0
votes
1 answer

ruby gedcom parser EOF exception

i need to parse gedcom 5.5 files for a analyziation project. The first ruby parser i found couses a stack level too deep error, so i tryed to find alternatives. I fount this project: https://github.com/jslade/gedcom-ruby There are some samples…
Mudvayne
  • 35
  • 4
-1
votes
1 answer

Why does GEDCOM limit lines to 255 characters?

I'm writing Python code to read and write GEDCOM files, which are text files used to share data among genealogy data programs. The GEDCOM specs say that a line can't exceed 255 characters. I will be importing the data into SQLite which has no…
Luther
  • 514
  • 4
  • 17
-1
votes
1 answer

"Gedcom file - How to split names and eliminating double places."

I have two questions - both related to my gedcom-file for my genealogical tree (I use both notepad++ and textpad): 1.) I have around 1000 people, who have De, La, Le, Van, Von, etc., as part of their Surname (in the beginning of it), and I would…
1 2
3