For issues related to the current stable release please use it's own Help forum.
IMPORTANT:Please read this before using an git or nightly build version: wiki.webtrees.net/en/GIT

Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: [SOLVED] residence addresses in gedcom

residence addresses in gedcom 1 month 1 week ago #1

  • guidovanharten
  • guidovanharten's Avatar
  • Offline
  • New
  • Posts: 78
When I add a residence address in my (test) webtrees and export that tree to a gedcom, I only see ADDR en CONT. I do not see ADR1 nor CITY, POST, STAE and CTRY.

I am still busy to create a gedcom which will be import flawless into Webtrees. What is the best syntax to use?

Kind regards,
Guido
The administrator has disabled public write access.

residence addresses in gedcom 1 month 6 days ago #2

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1656
There are several ways to record an address, depending on style / gedcom dialect you use or prefer. I'm pretty sure webtrees will render all of them, and allows editing existing values, but on entry of a new address it uses the 5.5.1 syntax.

If you read the GEDCOM 5.5.1 specs it gets really confusing. The old-style structured address tags (street, city, province, zip/postal code, state) are still in there for backwards compatibility, but noted with occurrence zero or one, so optional. New style is unstructured: just write the address as you'd write an envelope. This is the only fail-safe way to write world-wide valid addresses. Any attempt to structure it further will be awkward for another country.

More info: www.tamurajones.net/GEDCOMADDR.xhtml
stamboom.BertKoor.nl runs on webtrees v1.7.13
Last Edit: 1 month 6 days ago by bertkoor.
The administrator has disabled public write access.

residence addresses in gedcom 1 month 6 days ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11465
> What is the best syntax to use?

As bert says, just use the ADDR/CONT.

It is not possible to convert ADR1/ADR2/CITY/POST/STAE/CTRY into a properly formatted address. The structure is different in every country.

Therefore you will always need to write the full address in the ADDR/CONT fields.

The sub-fields were designed for "automatic processing". But there is no automatic processing of addresses in webtrees (or any other genealogy program?).


Personally, I just store the part of the address that is not included in the place name. e.g.

1 BIRT
2 PLAC Ambridge, Borsetshire, England
2 ADDR 7 The Green
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

residence addresses in gedcom 1 month 5 days ago #4

  • guidovanharten
  • guidovanharten's Avatar
  • Offline
  • New
  • Posts: 78
Nice solution!
Thank you very much, Bert!
The administrator has disabled public write access.

[SOLVED] residence addresses in gedcom 1 month 5 days ago #5

  • guidovanharten
  • guidovanharten's Avatar
  • Offline
  • New
  • Posts: 78
Problem solved.
The administrator has disabled public write access.

residence addresses in gedcom 2 weeks 2 days ago #6

  • begleysm
  • begleysm's Avatar
  • Offline
  • New
  • Posts: 2
This question is related so I thought I'd tack it on here instead of starting a new thread.

I've imported a GEDCOM from MyHeritage and there is a RESI (Residence) tag that looks like this
1 RESI
2 DATE 1935
2 ADDR
3 ADR1 2317 S 119th Ct, Omaha, Nebraska 68144-2930, USA
3 ADR2 Same House - 3512 Hickory St, Omaha, Douglas, Nebraska, USA

On main page for the person it renders like this


As an admin I go click on "Residence" and get this window


So, related to the above, it looks like MyHeritage put the address content in ADDR/ADR1 & ADDR/ADR2 but webtrees will only display it on the main page if its in the "Address" box (which I assume maps to ADDR/CONT). If I put content in "Address" it shows up like I want it to on the main page.


So what is the best way to handle this? Edit the GEDCOM file prior to importing to move/copy the ADDR/ADR1 and/or ADDR/ADDR2 data to ADDR/CONT? Or is there a web option somewhere that will have it import and/or display differently?

Side question: Why do I get an "extra" Residence block (surrounded red) that has no edit/copy/delete buttons after I updated a Residence tag?
Last Edit: 2 weeks 2 days ago by begleysm.
The administrator has disabled public write access.

residence addresses in gedcom 2 weeks 1 day ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11465
GEDCOM allows you to store addresses in two formats.
A "formatted" version for display.
A "structured" version for data-processing.

(Similar to NAME records where we store the formatted and strucutred versions of the same data.)

Generally, applications always include the formatted version and sometimes also include the structured version.

webtrees shows the "formatted" version. I guess that if this is empty, we should look for structured data to display as a fallback - so this is probably a bug.

Your data also looks wrong.

ADR1 is the first line of the address
ADR2 is the second line of the address

You have put two different (complete) addresses in each field.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

residence addresses in gedcom 2 weeks 1 day ago #8

  • begleysm
  • begleysm's Avatar
  • Offline
  • New
  • Posts: 2
Thanks for the overview of the Address Format. That makes sense.

I agree that the data is formatted incorrectly. This is a GEDCOM file from MyHeritage.com that my dad put together. Not sure if it was "him" or "MyHeritage" that caused/allowed the non-conforming ADR1/ADR2 format.

It would, certainly, be handy if webtrees checked the structured address if the formatted address is blank since, apparently, this is something that at least one major genealogy tool permits.

In the meantime I'll fix it either in MyHeritage before exporting the GEDCOM, in the GEDCOM itself, or from within webtrees... whatever seems easiest.
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 
Powered by Kunena Forum