From: Serge N. <Ser...@fr...> - 2011-04-12 18:55:56
|
Le 12/04/2011 01:03, Rob Healey a écrit : > Dear Serge: > > Your GEPS025, it is executable code yet? May I checkout gep025, and use it? Just like I would with gramps33, trunk, gramps32, and gramps-addons... Yes, it's executable. Many bugs, but what is implemented works. I'll do that this weekend. > > I would also like to know if you would consider to add another view, such as geomedia ... Using my gramplet, and code that could be added to mediaview, we could use GPS to map where an image was taken anywhere in the world! No problem, everybody could be able to add other geo* modules. The maps used are defined in the osmgpsmap library. Some doesn't works. Only free maps are implemented and some other like google are not the default but works. We have problems with googlemap tiles download : http://code.google.com/p/gmapcatcher/issues/detail?can=1&q=210&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&id=210 if the link above is splitted : http://code.google.com/p/gmapcatcher/issues/ and search for the issue 210 The available maps are : OpenStreetMap OpenStreetMap renderer OpenAerialMap Maps For Free Google street Google sat Google hybrid Virtualearth street Virtualearth sat Virtualearth hybrid Yahoo street Yahoo sat Yahoo hybrid Yahoo doesn't seem to works : openstreetmap instead. I'll look at this later. each map has it's own repository for tiles : by default : $HOME/.gramps/maps/<provider>/ > I would also like to request if you would make this work with Google Earth as well? I can't add others map. I'm not sure google earth will be implemented one day as you can read the issue 210 of gmapcatcher ( see above ). > > Before a person could use GeoMedia, there would need to be a check to see if pyexiv2 is installed or not??? I think it should be useful to have library prerequisites defined in the gpr.py Who can answer to this question ? This way, each module could ask for a library or libraries. If only one them doesn't exist, we don't load the module. > > Sincerely yours, > Rob G. Healey > > > On Mon, Apr 11, 2011 at 1:50 PM, Serge Noiraud <Ser...@fr... <mailto:Ser...@fr...>> wrote: > > Le 11/04/2011 16:19, Doug Blank a écrit : > > On Sun, Apr 10, 2011 at 4:51 PM, Serge Noiraud<Ser...@fr... <mailto:Ser...@fr...>> wrote: > >> Hi, > >> > >> I have one question : How to do that ? > >> easy ! isn't it ? > >> > >> My problem : > >> I have several modules : > >> geoevents, geoperson, geofamily and geoplaces for the moment. > >> They all works in the Geography view. > >> Each module call NavigationView with a different nav_group > >> The first one works always correctly. > >> with the others, I get the following error : > >> > >> Traceback (most recent call last): > >> File "/home/gramps/trunk/src/gui/viewmanager.py", line 1204, in view_changed > >> self.__change_page(page_num) > >> File "/home/gramps/trunk/src/gui/viewmanager.py", line 1216, in __change_page > >> self.active_page.set_active() > >> File "/home/gramps/trunk/src/plugins/view/geoplaces.py", line 209, in set_active > >> NavigationView.set_active(self) > >> File "/home/gramps/trunk/src/gui/views/navigationview.py", line 154, in set_active > >> self.bookmarks.display() > >> File "/home/gramps/trunk/src/Bookmarks.py", line 119, in display > >> self.redraw() > >> File "/home/gramps/trunk/src/Bookmarks.py", line 147, in redraw > >> if len(self.bookmarks.get())> 0: > >> AttributeError: 'function' object has no attribute 'get' > >> > >> Is the a way to have different navigation type in a view ? > > I don't see where bookmarks got set to a function. It should be a > > bm_type (bookmark type). > > > > It looks like the 6th argument to NavigationView is a bm_type as > > defined in Bookmarks.py. Looks like geoview extends htmlview, which > > extends NavigationView which defaults to a Person view type. But there > > are references in geoview to family bookmarks. > it's not for geoview. I am working on the next version without html. > > What type of navigation do you want in the geo items? > For the geoperson view, I'd like to have Person navigation. > For the geofamily view, I'd like to have Family navigation. > For the geoplace, the Place navigation > and for geoevents, the Event navigation. > If we add another view, it could be one of these navigations type or perhaps another one. > The only parameter I see is the navigation_type. Is it possible to set it according my needs ? > > Perhaps I should publish the new version as a GEPS : > http://www.gramps-project.org/wiki/index.php?title=GEPS_025:_Geography > > > -Doug > > > -- > Sincerely yours, > Rob G. Healey > > "Always surround yourself with people that inspire you to > greatness!" > |