GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Convert from CSV to Genopro XML

Click to view RSS...
Author
Posted Monday, May 16, 2011 - Post #28380
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: Monday, November 21, 2016
Posts: 219, Visits: 14,705
Hello,

is there a definition of GenoPro XML tags? Is it possible to convert from CSV to Genopro XML? Has anyone some scripts to do this?

Thanks


Tags:
Posted Tuesday, May 17, 2011 - Post #28381
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.0.1.3

Last Login: 8 hours ago
Posts: 4,403, Visits: 21,648
All the XML tags are available in the Tag Definitions dialog from the Tools menu.
Posted Sunday, January 14, 2018 - Post #38459
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Wednesday, May 23, 2018
Posts: 3, Visits: 42
I am about to create a bash script to convert .csv to .xml. But some parts of the code I do not understand.

What is this part for? Does it change? If yes, when does it change?

<Tag>YoB_YoD</Tag>

It is part of the <global> tag, like this:

<Global>
  <Name>
    <Full Format="%T %F (%N) %M %L (%L2) %S"/>
    <Display Format="%F %M %L (%L2)" Lines="3"/>
  </Name>
  <Font>Arial</Font>
  <Display>
    <Tag>YoB_YoD</Tag>
    <Colors>
      <Gender Symbol="#000000" Text="#000000" Fill="#FFFFFF">
        <Fill>
          <Top Left="#FF0000" Right="#FF0000"/>
          <Bottom Left="#FF0000" Right="#FF0000"/>
        </Fill>
      </Gender>
      <Border Outline="#6E6EFF">
        <Fill>#FFFF80</Fill>
      </Border>
      <Label Top="#000000" Bottom="#000000">
        <Fill Top="#FFFFFF" Bottom="#FFFFFF"/>
      </Label>
    </Colors>
  </Display>
  <ActiveGenoMap>GenoMap1</ActiveGenoMap>
</Global>


Tags:
Posted Sunday, January 14, 2018 - Post #38460
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Wednesday, May 23, 2018
Posts: 3, Visits: 42
And the most complicated for me, is the calculation of the position of people and families – is this part of code licenced? Or can anyone help at least with the algorithm creation?

Thank you in advance. Smile


Tags:
Posted Sunday, January 14, 2018 - Post #38461
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.0

Last Login: 10 hours ago
Posts: 2,598, Visits: 18,822
Global.Display.Tag indicates what is to be set as the label above the gender symbol, YoB_YoD is year of birth - year of death. It changes according to what is set under the GenoPro Display Menu item.

As to how to calculate the position of items on the genogram, that seems to be a black art, c.f. many discussions on this forum re auto-arrange.   I think the best you can do is not to add any positional data but leave to GenoPro's auto-arrange to sort it out the best it can when you load your XML.

GenoPro code is not open source and so the actual algorithm used is not available AFAIK. However a sample plugin application was released as part of the SDK https://www.genopro.com/sdk/automation/plugin.aspx which includes a c# version of a custom auto-arrange that may be of some use.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Sunday, January 14, 2018 by genome
Posted Monday, January 15, 2018 - Post #38462
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.3

Last Login: 9 hours ago
Posts: 1,451, Visits: 25,681
When I had a load of data in a table that I wanted to use I wrote a Basic program to convert it into gedcom. There was only limited data ie baptism records so just had to create a family for each record.
If you Google "csv to gedcom" there are several options including freeware ACC2GED
I have not tried these but as the original data presumably does not contain location it is easier to let GenoPro sort this out on loading
Posted Saturday, April 28, 2018 - Post #38727
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Wednesday, May 23, 2018
Posts: 3, Visits: 42
Thank you @genome, your answer was very useful. Smile

And @appleshaw, yes, I heard of ACC2GED. Though I’ve never tried it, I wanted something what is more linuxish. Wink


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse