From: Nick H. <nic...@ho...> - 2009-10-15 16:56:25
|
Thanks for looking at this. It's good to test on a large database even if users will be using smaller ones. I think the French data has a full hierarchy which is why it looks good and works well. The Swiss and Belgian data appear flat in this model. The Swiss data does have the city field populated but I don't use it. These models will be very slow because they are large and the model is not tuned for flat data. We need to think about how to handle empty levels that may appear in data from different countries. For example my data is mainly from England. I don't normally use the State field but I shifted my data up one level for this test. Maybe we should label the data entry fields depending on which country the place being entered is in? Also, now we are considering the place data as hierarchical it would be good if all the hierarchical fields were all on one side of the editor and in order. Although there is more to think about this is a good start. jerome wrote: > Yeaaah, sounds really good, nice work ! > > Take care, fr.gramps is a complete place database, most place objects have a just a title... and might display "unknown levels". > > For performance issues, I find it quicker that flat model !!! > Also user will never have 35 000 place objects ;) > > Sorting column is "hidden" ! level places will be the same, only objects into last level will be sorted. True, grouping result is the same. :) > > Thank you ! > > Jérôme > > > --- En date de : Mer 14.10.09, Nick Hall <nic...@ho...> a écrit : > > >> De: Nick Hall <nic...@ho...> >> Objet: [Gramps-devel] Patch for experimental PlaceView >> À: "Gramps developers" <gra...@li...> >> Date: Mercredi 14 Octobre 2009, 19h50 >> I have uploaded a patch for the >> experimental PlaceView into bug tracker. >> >> http://www.gramps-project.org/bugs/view.php?id=3275 >> >> You will need to install: >> >> treemodel.patch >> new_place_view.patch >> >> both were produced against revision 13369. >> >> Jerome's data of about 35,000 French places illustrates >> nicely what I >> was trying to achieve. >> >> http://romjerome.ifrance.com/fr.gramps >> >> Performance may be an issue though - the load and rebuild >> take about 7 >> secs on my machine. Also expanding all nodes takes >> several seconds. >> >> Tree browsing seems to be quite quick as does adding, >> editing and >> deleting records. >> >> Reversing the order of a sorted column is quite quick but >> sorting on a >> new column requires a re-build. >> >> The patch will also affect the performance of the >> PersonView because >> they both use the same treebasemodel in the new cde. >> >> I would be interested to see what people think. >> >> Regards, >> >> Nick. >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference >> in SF, CA >> is the only developer event you need to attend this year. >> Jumpstart your >> developing skills, take BlackBerry mobile applications to >> market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. >> Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> >> > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités > http://mail.yahoo.fr Yahoo! Mail > > > |