Open main menu

Gramps β

Changes

Addon:LocationsReport

797 bytes added, 01:22, 14 July 2025
no edit summary
{{Third-party addon}}
{{man warn|Incomplete Addon|[[Media:Locations.gz|Locations.py]] code available from this page only / Created 2009 for Gramps 3.1?<br>Code updated for Gramps 6.0 [[Media:Locationsreport60.zip|Locations.py 6.0]] but does not work yet}}
[[File:Locations-TextReports-default-60.png|right|thumb|450px|Locations text report default settings]]
{{man label|Locations}} text report shows ''Individuals with locations''
 
==Usage==
{{man menu|Reports > Text Reports > locations...}}
 
==Installation==
Download and manually install the addon.
 
==Development==
* [[Media:Locations.gz|Locations.py]] was my "clean-up" report !
 I use GRAMPS Gramps since many years but after some GEDCOM imports generated by other programs, there was no scheme for storing my data.  
I had locations on person's address tab, on family, some events were missing, etc ...
 True, I got was able to get one list by using multiple [[Gramps_3.1_Wiki_Manual_-_Filters|filter]] rules and [[Gramps_3.1_Wiki_Manual_-_Settings#Export_the_screen|Export the screen]] function but I planned needed to generate know who '''and''' where on my database. That's why I generated a textual report using the power of filter and [[Using_database_API|report framework]], which will be able to generate a resume into one file=== Generated with :===
Coding way is not very quick or standard but is easy to understand and plugin does the job.
* It has been generated under [http://www.geany.org/ Geany]
* and checked with [http://www.logilab.org/projects/pylint pylint].
 
I used it for cleaning my database.
 
Feel free to improve it for your own need !
 
;Jerome Rapinat
 
== Limitations ==
* As this is a textual report, there is no changes on database.  It just retrieves informations information from database. Do not need to make a backup before using this report.  
* As code is not very complex, it should not introduce mistakes on output.
 If there is an error, then there is a valid mail email at the end of the pluginaddon[[Category:Plugins]][[Category:Developers/General]][[Category:Reports]][[Category:Addons]]
15,091
edits