Icons, Expressions Diagrams
Posted: 21 Nov 2016 17:51
Hi
Have just started trying to use expressions to place icons beneath individual boxes on diagrams. After some time looking at the knowledge base and forums have come up with the following expressions (plagiarised from various forum threads etc.) to show Births; Baptisms, Marriages; Deaths; Burials; Cremations and the Census entries from 1841 through to 1911. For the present, I only want to show icons where I have the relevant record and an associated image so that visually I can see where I need to research further to cover gaps/omissions etc. Census expressions need a bit of work to achieve exactly what I require, but I will enhance those in slower time.
I will most likely have to re-order the INDI and FAMS census expressions so that like census years are in the same place, irrespective of it being applicable to an individual or couple.. I’m using both INDI and FAMS expressions for the various censuses as I am using a Census (co-residence) fact for a couple once they are married……see below for the expressions currently in use in their respective order:
1. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (Original)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
2. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (GRO Certified Copy)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
3. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (Photo Copy)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
4. =IsTrue((%INDI.BAPM.SOUR>_TYPE% = "Baptism Record (Parish Register)") and Exists(%INDI.BAPM.SOUR>OBJE>%))
5. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (Original)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
6. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (GRO Certified Copy)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
7. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (Photo Copy)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
8. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Record") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
9. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Clandestine Marriage Record") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
10. =IsTrue((%INDI.DEAT.SOUR>_TYPE% = "Death Certificate (Original)") and Exists(%INDI.DEAT.SOUR>OBJE>%))
11. =IsTrue((%INDI.DEAT.SOUR>_TYPE% = "Death Certificate (GRO Certified Copy)") and Exists(%INDI.DEAT.SOUR>OBJE>%))
12. =IsTrue((%INDI.BURI.SOUR>_TYPE% = "Burial Record (Parish Register)") and Exists(%INDI.BURI.SOUR>OBJE>%))
13. =IsTrue((%INDI.BURI.SOUR>_TYPE% = "Burial Record (Cemetery Register)") and Exists(%INDI.BURI.SOUR>OBJE>%))
14. =IsTrue((%INDI.CREM.SOUR>_TYPE% = "Cremation Certificate (Original)") and Exists(%INDI.CREM.SOUR>OBJE>%))
15. =IsTrue((%INDI.CREM.SOUR>_TYPE% = "Cremation Record") and Exists(%INDI.CREM.SOUR>OBJE>%))
16. =IsTrue(%INDI.CENS[year=1841].SOUR>_TYPE% = "Census 1841")
17. =IsTrue(%INDI.CENS[year=1851].SOUR>_TYPE% = "Census 1851")
18. =IsTrue(%INDI.CENS[year=1861].SOUR>_TYPE% = "Census 1861")
19. =IsTrue(%INDI.CENS[year=1871].SOUR>_TYPE% = "Census 1871")
20. =IsTrue(%INDI.CENS[year=1881].SOUR>_TYPE% = "Census 1881")
21. =IsTrue(%INDI.CENS[year=1891].SOUR>_TYPE% = "Census 1891")
22. =IsTrue(%INDI.CENS[year=1901].SOUR>_TYPE% = "Census 1901")
23. =IsTrue(%INDI.CENS[year=1911].SOUR>_TYPE% = "Census 1911")
24. =IsTrue(%INDI.FAMS>CENS[year=1841].SOUR>_TYPE% = "Census 1841")
25. =IsTrue(%INDI.FAMS>CENS[year=1851].SOUR>_TYPE% = "Census 1851")
26. =IsTrue(%INDI.FAMS>CENS[year=1861].SOUR>_TYPE% = "Census 1861")
27. =IsTrue(%INDI.FAMS>CENS[year=1871].SOUR>_TYPE% = "Census 1871")
28. =IsTrue(%INDI.FAMS>CENS[year=1881].SOUR>_TYPE% = "Census 1881")
29. =IsTrue(%INDI.FAMS>CENS[year=1891].SOUR>_TYPE% = "Census 1891")
30. =IsTrue(%INDI.FAMS>CENS[year=1901].SOUR>_TYPE% = "Census 1901")
31. =IsTrue(%INDI.FAMS>CENS[year=1911].SOUR>_TYPE% = "Census 1911")
So far so good, but I have a number of instances where a person has been married twice and one three times. I’m wondering if it is possible to write a separate expression for a first, second and third marriage to show a different icon in each instance (say an M1, M2, M3 or similar) to denote a first, second or third marriage.
Now this is where it becomes complicated (well for me it does!)……consider for example a male individual who has married twice with both his wives (their first marriage in both instances) shown on the diagram. it would be nice to see two icons (say) an M1 icon and an M2 icon underneath his box but just a single M1 underneath his wives.
If the above is feasible, I guess there will have to be quite a few expressions that would have to be compiled in oder to test for the various combinations of marriage.
Any guidance as to whether the above is feasible would be most welcome as I am not sufficiently au fait with expressions to tackle them at the moment.
Additionally I have downloaded a couple of icon sets but have yet to discover suitable matching icons covering burial and cremation for those in the icon sets within the FHUG website. I have downloaded a few found on the internet and reduced those to about 32 pixels across but they are a bit naff, but will do in the short term.
Is there a recommended program (Preferably free) that people have used to design such icons so that I could use to make my own?
Thanks in advance
Best Regards to all
Shiriki
Have just started trying to use expressions to place icons beneath individual boxes on diagrams. After some time looking at the knowledge base and forums have come up with the following expressions (plagiarised from various forum threads etc.) to show Births; Baptisms, Marriages; Deaths; Burials; Cremations and the Census entries from 1841 through to 1911. For the present, I only want to show icons where I have the relevant record and an associated image so that visually I can see where I need to research further to cover gaps/omissions etc. Census expressions need a bit of work to achieve exactly what I require, but I will enhance those in slower time.
I will most likely have to re-order the INDI and FAMS census expressions so that like census years are in the same place, irrespective of it being applicable to an individual or couple.. I’m using both INDI and FAMS expressions for the various censuses as I am using a Census (co-residence) fact for a couple once they are married……see below for the expressions currently in use in their respective order:
1. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (Original)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
2. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (GRO Certified Copy)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
3. =IsTrue((%INDI.BIRT.SOUR>_TYPE% = "Birth Certificate (Photo Copy)") and Exists(%INDI.BIRT.SOUR>OBJE>%))
4. =IsTrue((%INDI.BAPM.SOUR>_TYPE% = "Baptism Record (Parish Register)") and Exists(%INDI.BAPM.SOUR>OBJE>%))
5. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (Original)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
6. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (GRO Certified Copy)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
7. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Certificate (Photo Copy)") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
8. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Marriage Record") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
9. =IsTrue((%CUR~FAMS>MARR.SOUR>_TYPE% = "Clandestine Marriage Record") and Exists(%CUR~FAMS>MARR.SOUR>OBJE>%))
10. =IsTrue((%INDI.DEAT.SOUR>_TYPE% = "Death Certificate (Original)") and Exists(%INDI.DEAT.SOUR>OBJE>%))
11. =IsTrue((%INDI.DEAT.SOUR>_TYPE% = "Death Certificate (GRO Certified Copy)") and Exists(%INDI.DEAT.SOUR>OBJE>%))
12. =IsTrue((%INDI.BURI.SOUR>_TYPE% = "Burial Record (Parish Register)") and Exists(%INDI.BURI.SOUR>OBJE>%))
13. =IsTrue((%INDI.BURI.SOUR>_TYPE% = "Burial Record (Cemetery Register)") and Exists(%INDI.BURI.SOUR>OBJE>%))
14. =IsTrue((%INDI.CREM.SOUR>_TYPE% = "Cremation Certificate (Original)") and Exists(%INDI.CREM.SOUR>OBJE>%))
15. =IsTrue((%INDI.CREM.SOUR>_TYPE% = "Cremation Record") and Exists(%INDI.CREM.SOUR>OBJE>%))
16. =IsTrue(%INDI.CENS[year=1841].SOUR>_TYPE% = "Census 1841")
17. =IsTrue(%INDI.CENS[year=1851].SOUR>_TYPE% = "Census 1851")
18. =IsTrue(%INDI.CENS[year=1861].SOUR>_TYPE% = "Census 1861")
19. =IsTrue(%INDI.CENS[year=1871].SOUR>_TYPE% = "Census 1871")
20. =IsTrue(%INDI.CENS[year=1881].SOUR>_TYPE% = "Census 1881")
21. =IsTrue(%INDI.CENS[year=1891].SOUR>_TYPE% = "Census 1891")
22. =IsTrue(%INDI.CENS[year=1901].SOUR>_TYPE% = "Census 1901")
23. =IsTrue(%INDI.CENS[year=1911].SOUR>_TYPE% = "Census 1911")
24. =IsTrue(%INDI.FAMS>CENS[year=1841].SOUR>_TYPE% = "Census 1841")
25. =IsTrue(%INDI.FAMS>CENS[year=1851].SOUR>_TYPE% = "Census 1851")
26. =IsTrue(%INDI.FAMS>CENS[year=1861].SOUR>_TYPE% = "Census 1861")
27. =IsTrue(%INDI.FAMS>CENS[year=1871].SOUR>_TYPE% = "Census 1871")
28. =IsTrue(%INDI.FAMS>CENS[year=1881].SOUR>_TYPE% = "Census 1881")
29. =IsTrue(%INDI.FAMS>CENS[year=1891].SOUR>_TYPE% = "Census 1891")
30. =IsTrue(%INDI.FAMS>CENS[year=1901].SOUR>_TYPE% = "Census 1901")
31. =IsTrue(%INDI.FAMS>CENS[year=1911].SOUR>_TYPE% = "Census 1911")
So far so good, but I have a number of instances where a person has been married twice and one three times. I’m wondering if it is possible to write a separate expression for a first, second and third marriage to show a different icon in each instance (say an M1, M2, M3 or similar) to denote a first, second or third marriage.
Now this is where it becomes complicated (well for me it does!)……consider for example a male individual who has married twice with both his wives (their first marriage in both instances) shown on the diagram. it would be nice to see two icons (say) an M1 icon and an M2 icon underneath his box but just a single M1 underneath his wives.
If the above is feasible, I guess there will have to be quite a few expressions that would have to be compiled in oder to test for the various combinations of marriage.
Any guidance as to whether the above is feasible would be most welcome as I am not sufficiently au fait with expressions to tackle them at the moment.
Additionally I have downloaded a couple of icon sets but have yet to discover suitable matching icons covering burial and cremation for those in the icon sets within the FHUG website. I have downloaded a few found on the internet and reduced those to about 32 pixels across but they are a bit naff, but will do in the short term.
Is there a recommended program (Preferably free) that people have used to design such icons so that I could use to make my own?
Thanks in advance
Best Regards to all
Shiriki