Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEPS 045 - a second attempt at enhanced places #809

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
67e7a20
GEPS045 Place Enhancements
prculley Jul 18, 2020
06516fa
GEPS045 Place Formats
prculley Jul 18, 2020
d67eb2b
Refactor Gedcom import to remove alt-location and order dependencies
prculley Aug 31, 2017
7e325a0
GEPS045/043 Gedcom import support for Gedcom L place handling
prculley Sep 29, 2017
6594b48
GEPS045 Gedcom L Export support
prculley Sep 28, 2017
7cbaf76
Make Gedcom L enhanced places an option for GEDCOM export
prculley Nov 10, 2019
8590fe3
GEPS045 tests
prculley Jul 18, 2020
c66673c
GEPS045 filters and rules
prculley Jul 18, 2020
1e7dcfc
Import/Export for GEPS045
prculley Jul 18, 2020
2ccd6db
Avoid duplicted attributes on add
prculley Jun 4, 2019
68609a9
Add Place Attribute Gramplet
prculley Jun 6, 2019
6bd5b76
Reports for GEPS045
prculley Jul 18, 2020
2b6b732
Fix Testcasegenerator for enhanced places
prculley Jun 18, 2019
59082a1
Fix tags.py for crash when XML unsafe tag names are used
prculley Jun 18, 2019
07305cb
fix place coordinates to always use English NSEW
prculley Oct 27, 2019
f58f8a1
Fix empty PLAC/NAME when using private proxy
prculley Nov 25, 2019
ef4007d
Fix Complete Individual report for crash when number of sections changes
prculley Nov 26, 2019
5336a73
fix no_magic for dbapi
prculley Mar 4, 2020
3f3780e
Fix exception bug in GrampsLoacle
prculley Jun 12, 2020
ba78b1d
Fix crash on change in number of columns in view
prculley Jun 22, 2020
091941e
GEPS045 Replace Place Types and Assign place groups menu commands
prculley Jun 12, 2020
8e2a0f1
GEPS045 PlaceType plugins/addons
prculley Jun 12, 2020
03f976c
Fix Check&Repair to find bad handle references where handle is empty …
prculley Jun 15, 2020
552b02e
Test Error handling
prculley Jun 16, 2020
27ce771
Fix Locations Gramplet to properly respond to signals
prculley Jul 3, 2020
8790fab
GEPS045 Fix Testcasegenerator for enhanced places
prculley Jul 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactor Gedcom import to remove alt-location and order dependencies
Also improves PLAC.FORM handling, and adds ADR3 tag support
  • Loading branch information
prculley committed Sep 15, 2020
commit d67eb2b95c4b2dcee4cc8f433a975f38372cd6ce
160 changes: 85 additions & 75 deletions data/tests/imp_CustTags.gramps
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"http://gramps-project.org/xml/1.7.1/grampsxml.dtd">
<database xmlns="http://gramps-project.org/xml/1.7.1/">
<header>
<created date="2016-08-29" version="5.0.0-alpha1"/>
<created date="2017-08-30" version="5.0.0-alpha2"/>
<researcher>
<resname>The Subm /Tester/</resname>
<resaddr>123 Main St.</resaddr>
@@ -13,184 +13,194 @@
</researcher>
</header>
<events>
<event handle="_0000000500000005" change="1472500305" id="E0000">
<event handle="_0000000500000005" change="1" id="E0000">
<type>Birth</type>
<dateval val="1954-12-29"/>
<place hlink="_0000000600000006"/>
<place hlink="_0000000a0000000a"/>
</event>
<event handle="_0000000700000007" change="1472500305" id="E0001">
<event handle="_0000000b0000000b" change="1" id="E0001">
<type>Circumcision</type>
<dateval val="1955-01-11"/>
<place hlink="_0000000800000008"/>
<place hlink="_0000000c0000000c"/>
</event>
<event handle="_0000000900000009" change="1472500305" id="E0002">
<event handle="_0000000d0000000d" change="1" id="E0002">
<type>Elected</type>
<dateval val="1980"/>
<place hlink="_0000000a0000000a"/>
<place hlink="_0000000e0000000e"/>
<description>Small town</description>
</event>
<event handle="_0000000c0000000c" change="1472500305" id="E0003">
<event handle="_0000001000000010" change="1" id="E0003">
<type>_XYZ</type>
<dateval val="1979"/>
<description>He should keep his zipper closed</description>
</event>
<event handle="_0000000d0000000d" change="1472500305" id="E0004">
<event handle="_0000001100000011" change="1" id="E0004">
<type>Independence Day</type>
<dateval val="1981-07-04"/>
<description>Celebration</description>
</event>
<event handle="_0000000f0000000f" change="1472500305" id="E0005">
<event handle="_0000001300000013" change="1" id="E0005">
<type>Residence</type>
<dateval val="1954-12-30"/>
<place hlink="_0000001100000011"/>
<noteref hlink="_0000001000000010"/>
<place hlink="_0000001700000017"/>
<noteref hlink="_0000001400000014"/>
</event>
<event handle="_0000001300000013" change="1472500305" id="E0006">
<event handle="_0000001900000019" change="1" id="E0006">
<type>Marriage</type>
<dateval val="1970"/>
<place hlink="_0000001400000014"/>
<place hlink="_0000001a0000001a"/>
</event>
<event handle="_0000001500000015" change="1472500305" id="E0007">
<event handle="_0000001b0000001b" change="1" id="E0007">
<type>_INFIDELITY</type>
<dateval val="1979"/>
<place hlink="_0000001600000016"/>
<place hlink="_0000001c0000001c"/>
</event>
<event handle="_0000001700000017" change="1472500305" id="E0008">
<event handle="_0000001d0000001d" change="1" id="E0008">
<type>Separation</type>
<dateval val="1980"/>
<place hlink="_0000001800000018"/>
<place hlink="_0000001e0000001e"/>
</event>
</events>
<people>
<person handle="_0000000100000001" change="1472500305" id="I0000">
<person handle="_0000000100000001" change="1" id="I0000">
<gender>U</gender>
<name type="Birth Name">
<first>The</first>
<surname>Tester</surname>
<citationref hlink="_0000000400000004"/>
</name>
<eventref hlink="_0000000500000005" role="Primary"/>
<eventref hlink="_0000000700000007" role="Primary"/>
<eventref hlink="_0000000900000009" role="Primary"/>
<eventref hlink="_0000000c0000000c" role="Primary"/>
<eventref hlink="_0000000b0000000b" role="Primary"/>
<eventref hlink="_0000000d0000000d" role="Primary"/>
<parentin hlink="_0000000b0000000b"/>
<eventref hlink="_0000001000000010" role="Primary"/>
<eventref hlink="_0000001100000011" role="Primary"/>
<parentin hlink="_0000000f0000000f"/>
</person>
<person handle="_0000000e0000000e" change="1472500305" id="I0001">
<person handle="_0000001200000012" change="1" id="I0001">
<gender>U</gender>
<name type="Birth Name">
<first>Mrs</first>
<surname>Tester</surname>
</name>
<eventref hlink="_0000000f0000000f" role="Primary"/>
<parentin hlink="_0000000b0000000b"/>
<eventref hlink="_0000001300000013" role="Primary"/>
<parentin hlink="_0000000f0000000f"/>
</person>
<person handle="_0000001200000012" change="1472500305" id="I0002">
<person handle="_0000001800000018" change="1" id="I0002">
<gender>U</gender>
<name type="Birth Name">
<first>Tom</first>
<surname>Tester</surname>
</name>
<childof hlink="_0000000b0000000b"/>
<childof hlink="_0000000f0000000f"/>
</person>
</people>
<families>
<family handle="_0000000b0000000b" change="1472500305" id="F4211">
<family handle="_0000000f0000000f" change="1" id="F4211">
<rel type="Married"/>
<father hlink="_0000000100000001"/>
<mother hlink="_0000000e0000000e"/>
<eventref hlink="_0000001300000013" role="Family"/>
<eventref hlink="_0000001500000015" role="Family"/>
<eventref hlink="_0000001700000017" role="Family"/>
<childref hlink="_0000001200000012"/>
<mother hlink="_0000001200000012"/>
<eventref hlink="_0000001900000019" role="Family"/>
<eventref hlink="_0000001b0000001b" role="Family"/>
<eventref hlink="_0000001d0000001d" role="Family"/>
<childref hlink="_0000001800000018"/>
</family>
</families>
<citations>
<citation handle="_0000000400000004" change="1472500305" id="C0000">
<citation handle="_0000000400000004" change="1" id="C0000">
<page>777, record for The Tester</page>
<confidence>2</confidence>
<noteref hlink="_0000000300000003"/>
<sourceref hlink="_0000000200000002"/>
</citation>
</citations>
<sources>
<source handle="_0000000200000002" change="1472500305" id="S0006">
<source handle="_0000000200000002" change="1" id="S0006">
<stitle>Ohio Births, 1958-2002</stitle>
<reporef hlink="_0000001900000019" medium="Book"/>
<reporef hlink="_0000001f0000001f" medium="Book"/>
</source>
</sources>
<places>
<placeobj handle="_0000000600000006" change="1472500305" id="P0000" type="Street">
<ptitle>123 High St, Cleveland, Cuyahoga, Ohio, USA, 44140</ptitle>
<placeobj handle="_0000000600000006" change="1" id="P0000" type="Country">
<ptitle>USA</ptitle>
<pname value="USA"/>
</placeobj>
<placeobj handle="_0000000700000007" change="1" id="P0001" type="State">
<ptitle>Ohio, USA</ptitle>
<pname value="Ohio"/>
<placeref hlink="_0000000600000006"/>
</placeobj>
<placeobj handle="_0000000800000008" change="1" id="P0002" type="County">
<ptitle>Cuyahoga, Ohio, USA</ptitle>
<pname value="Cuyahoga"/>
<placeref hlink="_0000000700000007"/>
</placeobj>
<placeobj handle="_0000000900000009" change="1" id="P0003" type="City">
<ptitle>Cleveland, Cuyahoga, Ohio, USA</ptitle>
<pname value="Cleveland"/>
<placeref hlink="_0000000800000008"/>
</placeobj>
<placeobj handle="_0000000a0000000a" change="1" id="P0004" type="Street">
<ptitle>123 High St, Cleveland, Cuyahoga, Ohio, USA</ptitle>
<code>44140</code>
<pname value="123 High St"/>
<placeref hlink="_0000001e0000001e"/>
<placeref hlink="_0000000900000009"/>
</placeobj>
<placeobj handle="_0000000800000008" change="1472500305" id="P0001" type="Street">
<ptitle>456 Main St, Cleveland, Cuyahoga, Ohio, USA, 44140</ptitle>
<placeobj handle="_0000000c0000000c" change="1" id="P0005" type="Street">
<ptitle>456 Main St, Cleveland, Cuyahoga, Ohio, USA</ptitle>
<code>44140</code>
<pname value="456 Main St"/>
<placeref hlink="_0000001e0000001e"/>
<placeref hlink="_0000000900000009"/>
</placeobj>
<placeobj handle="_0000000a0000000a" change="1472500305" id="P0002" type="Unknown">
<placeobj handle="_0000000e0000000e" change="1" id="P0006" type="Unknown">
<ptitle>Littetown, Smallcounty, Ohio, USA</ptitle>
<pname value="Littetown, Smallcounty, Ohio, USA"/>
</placeobj>
<placeobj handle="_0000001100000011" change="1472500305" id="P0003" type="Address">
<ptitle>123 Main St., Winslow, PA, 12345</ptitle>
<pname value="123 Main St., Winslow, PA, 12345"/>
<location street="123 Main St." city="Winslow" state="PA" postal="12345"/>
<placeobj handle="_0000001500000015" change="1" id="P0007" type="State">
<ptitle>PA</ptitle>
<pname value="PA"/>
</placeobj>
<placeobj handle="_0000001400000014" change="1472500305" id="P0004" type="Unknown">
<placeobj handle="_0000001600000016" change="1" id="P0008" type="City">
<ptitle>Winslow, PA</ptitle>
<pname value="Winslow"/>
<placeref hlink="_0000001500000015"/>
</placeobj>
<placeobj handle="_0000001700000017" change="1" id="P0009" type="Street">
<ptitle>123 Main St., Winslow, PA</ptitle>
<code>12345</code>
<pname value="123 Main St."/>
<placeref hlink="_0000001600000016"/>
</placeobj>
<placeobj handle="_0000001a0000001a" change="1" id="P0010" type="Unknown">
<ptitle>St Rafaels Church, Bay Village, Cuyahoga, Ohio, USA</ptitle>
<pname value="St Rafaels Church, Bay Village, Cuyahoga, Ohio, USA"/>
</placeobj>
<placeobj handle="_0000001600000016" change="1472500305" id="P0005" type="Unknown">
<placeobj handle="_0000001c0000001c" change="1" id="P0011" type="Unknown">
<ptitle>Of Ill Repute, Shaker Heights, Ohio, USA</ptitle>
<pname value="Of Ill Repute, Shaker Heights, Ohio, USA"/>
</placeobj>
<placeobj handle="_0000001800000018" change="1472500305" id="P0006" type="Unknown">
<placeobj handle="_0000001e0000001e" change="1" id="P0012" type="Unknown">
<ptitle>Cuyahoga, OHIO, USA</ptitle>
<pname value="Cuyahoga, OHIO, USA"/>
</placeobj>
<placeobj handle="_0000001b0000001b" change="1472500305" id="P0007" type="Country">
<ptitle>USA</ptitle>
<pname value="USA"/>
</placeobj>
<placeobj handle="_0000001c0000001c" change="1472500305" id="P0008" type="State">
<ptitle>Ohio, USA</ptitle>
<pname value="Ohio"/>
<placeref hlink="_0000001b0000001b"/>
</placeobj>
<placeobj handle="_0000001d0000001d" change="1472500305" id="P0009" type="County">
<ptitle>Cuyahoga, Ohio, USA</ptitle>
<pname value="Cuyahoga"/>
<placeref hlink="_0000001c0000001c"/>
</placeobj>
<placeobj handle="_0000001e0000001e" change="1472500305" id="P0010" type="City">
<ptitle>Cleveland, Cuyahoga, Ohio, USA</ptitle>
<pname value="Cleveland"/>
<placeref hlink="_0000001d0000001d"/>
</placeobj>
</places>
<repositories>
<repository handle="_0000001900000019" change="1472500305" id="R0001">
<repository handle="_0000001f0000001f" change="1" id="R0001">
<rname>Testers Repository</rname>
<type>Library</type>
<address>
<street>123 High St., OSF village, CA, USA</street>
</address>
<noteref hlink="_0000001a0000001a"/>
<noteref hlink="_0000002000000020"/>
</repository>
</repositories>
<notes>
<note handle="_0000000300000003" change="1472500305" id="N0000" type="Citation Justification">
<note handle="_0000000300000003" change="1" id="N0000" type="Citation Justification">
<text>Because it’s good</text>
</note>
<note handle="_0000001000000010" change="1472500305" id="N0001" type="Event Note">
<note handle="_0000001400000014" change="1" id="N0001" type="Event Note">
<text>Address as event is legal, with PHON,FAX,EMAIL,WWW</text>
</note>
<note handle="_0000001a0000001a" change="1472500305" id="N0002" type="Repository Note">
<note handle="_0000002000000020" change="1" id="N0002" type="Repository Note">
<text>Testers Repository Record</text>
</note>
</notes>
Loading