From: Tony P. <to...@pr...> - 2013-10-08 17:06:00
|
The query that your give the software (e.g. find events within a 10km radius of so-and-so) is a different thing to what is stored in the database (e.g. a place hierarchy) Craig. The software would normally use the information in the hierarchy to service your query, including any coordinates, place extents, and neighbouring place entities. Tony Proctor ----- Original Message ----- From: "Craig Treleaven" <ctr...@co...> To: "Nick Hall" <nic...@ho...>; <gra...@li...> Sent: Tuesday, October 08, 2013 5:59 PM Subject: Re: [Gramps-users] How to handle places changing names > At 5:49 PM +0100 10/8/13, Nick Hall wrote: >>On 08/10/13 17:28, Craig Treleaven wrote: >>>>Last year I wrote a prototype to investigate a hierarchical data >>>>structure: >>>> >>>>http://www.gramps-project.org/wiki/index.php?title=GEPS_006:_Prototype >>>> >>>>The prototype keeps the existing Place object to hold genealogical data, >>>>but creates a new Location object to hold physical location data. These >>>>Locations are stored in a hierarchy. >>>> >>>>I also investigated a couple of new widgets which exploit this new data >>>>structure. >>>> >>>>All the feedback I received was positive, but not many people seemed >>>>interested at the time. Perhaps I should raise it on the development >>>>list again for inclusion in v4.1? >>> >>>Nick, could you outline how the hierarchy will work. In my case, >>>many of my ancestors came to an area of Southern Ontario, Canada, >>>near the border between Bruce and Huron counties. Can you specify >>>a radius (40km, ~25 miles) or does the hierarchy only work on >>>political boundaries? >> >>Instead of a place being represented by a single record in the >>database, it would consist of a hierarchy of places. >> >>In your example, you would create a location called "Canada" and >>flag it as a country. You would the create a location called >>"Ontario" and flag it as a "Province". "Ontario" would have >>"Canada" as its parent. Then you would create locations for the >>counties, with the provinces as the parents. >> >>This allows you a create a very flexible structure in which >>locations such as "Canada" are re-used for many places. >> >>Your existing data will be converted and locations created for you. >>Don't try the prototype with live data though because it will >>convert your database into an unsupported format. >> >>The prototype only allows for a single parent for each location. >>Obviously, I will allow multiple parents in the final version. >> >>It will be up to you how to define the hierarchy. A radius is not >>really applicable, but the idea is to store a magnification factor >>alongside the longitude/latitude so that the geography view can >>display the relevant region. > > So, if some of my ancestors homesteaded in Huron County and then > moved (15 km) to Bruce County before finally being buried back in > Huron County, for example, I still would not have an easy way to look > at all the family events in that region? They would still be divided > between events in one county or the other? > > Craig > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users |