Menu

ADDR and ADR1 tags

Help
Jim Carey
2004-07-07
2004-07-08
  • Jim Carey

    Jim Carey - 2004-07-07

    (based on 3.1)
    I am confused about the address tags. I have a GEDCOM that has come through from Legacy. It has within it Gedcom lines like:

    1 ADDR 78 Victoria Pde
    2 CONT St George's Park ?
    2 CONT Bristol England
    2 _NAME Theodore Carey
    2 ADR1 78 Victoria Pde
    2 ADR2 St George's Park ?
    2 CITY Bristol
    2 CTRY England

    So the address is duplicated - once in ADDR and its CONT
    and once, structured, in ADR1,ADR2,CITY,CTRY (and some have POST for postcode etc)
    .
    This shows up as two seperate sets of addresses in the Personal facts listing :

    78 Victoria Pde
    St George's Park ?
    Bristol England
    78 Victoria Pde
    St George's Park ?
    Bristol
    England
    St George's Park ?
    Bristol England

    If I delete the ADR1 etc records then the ADDR record shows (NOTE there appears to be a bug as well in that the CONT records with the ADDR record are displayed twice) showing:

    78 Victoria Pde
    St George's Park ?
    Bristol England

    St George's Park ?
    Bristol England

    So - could someone explain the correct usage of these Tags for me :-)

    Secondly is there a way to add ADDR or ADR1 etc tags through the Personal Facts edit area - can't see anything in the dropdowns - could edit the raw gedcom - but dont want to do that if I can help it

    cheers

    Jim

     
    • John Finlay

      John Finlay - 2004-07-07

      Jim,

      Here is what the GEDCOM spec says:
      <snip>
      ADDRESS_STRUCTURE:=
      n ADDR <ADDRESS_LINE> {1:1} p.41
      +1 CONT <ADDRESS_LINE> {0:3} p.41
      +1 ADR1 <ADDRESS_LINE1> {0:1} p.41
      +1 ADR2 <ADDRESS_LINE2> {0:1} p.41
      +1 ADR3 <ADDRESS_LINE3> {0:1} p.41
      +1 CITY <ADDRESS_CITY> {0:1} p.41
      +1 STAE <ADDRESS_STATE> {0:1} p.42
      +1 POST <ADDRESS_POSTAL_CODE> {0:1} p.41
      +1 CTRY <ADDRESS_COUNTRY> {0:1} p.41
      n PHON <PHONE_NUMBER> {0:3} p.57
      n EMAIL <ADDRESS_EMAIL> {0:3} p.41
      n FAX <ADDRESS_FAX> {0:3} p.41
      n WWW <ADDRESS_WEB_PAGE> {0:3} p.42
      The address structure should be formed as it would appear on a mailing label using the ADDR and
      the CONT lines to form the address structure. The ADDR and CONT lines are required for any
      address. The additional subordinate address tags such as STAE and CTRY are provided to be used
      by systems that have structured their addresses for indexing and sorting. For backward compatibility
      these lines are not to be used in lieu of the required ADDR.and CONT line structure.
      </snip>

      So it would appear that PGV should only use the ADR1 line if the CONT lines do not exist.  Can you please file a BUG report for this?

      Thanks,
      --John

       
      • Daniel Kionka

        Daniel Kionka - 2004-07-08

        Which version of the spec do you have?  Mine doesn't have EMAIL, FAX, and WWW.

        It sounds like you should also ignore the CITY, STAE, POST, and CTRY if it has CONT lines.

         
        • John Finlay

          John Finlay - 2004-07-08

          I am using the 5.5.1 Draft spec which is what PAF seems to be using now.

          I've put a copy of it here:
          http://phpgedview.sourceforge.net/ged551-5.pdf

          --John

           
          • Daniel Kionka

            Daniel Kionka - 2004-07-08

            Thanks for the new spec.  It mentions the 3 new tags at the top where it explains the changes in 5.5.1.

            There seems to be another subtle address change.  The RESI tag (where you put the ADDR) was not allowed in the FAM record, and now it is.  That bothered me because I didn't want to duplicate the address for every member of the family.

             
    • Jim Carey

      Jim Carey - 2004-07-07

      Thanks - will do

      Any thoughts on the second question ?:

      Secondly is there a way to add ADDR or ADR1 etc tags through the Personal Facts edit area - can't see anything in the dropdowns - could edit the raw gedcom - but dont want to do that if I can help it

      Jim

       
    • John Finlay

      John Finlay - 2004-07-07

      Sorry, there is not a way to add addresses online.

      --John

       
      • Jim Carey

        Jim Carey - 2004-07-07

        ok - thanks - is this likely to be added in the future - given we can edit them online now ?

        Jim

         

Log in to post a comment.