From: Serge N. <Ser...@fr...> - 2012-09-08 20:21:13
|
Le 08/09/2012 16:46, James Sherring a écrit : > Ok, thanks. > > I agree that the Geography view in Gramps satisfies most of what you may otherwise have wanted from Google Earth. > > The remaining reasons for a KML export are > * Upload to Google My Maps, and share with family > * Use G My Maps on a mobile device > * Import into other software > > I've managed to knock together a KML report, which works for me. Having my family history map with Gramps events on G My Maps is very sexy on the SG3. > > It is some time since I have written code and this is the first time I've seen python, but I'm happy to share if that is of interest. > > And it probably should be rewritten as an export function rather than a report. And if we add one menu entry : "export to kml" for each view, could it be useful ? perhaps we could add your code to this menu entry. I'm interested in your code for that. I have no time for the moment as gtk3 and osm-gps-map doesn't work. > > James > > On Thu, Sep 6, 2012 at 9:45 AM, Benny Malengier <ben...@gm... <mailto:ben...@gm...>> wrote: > > > > 2012/9/3 James Sherring <jam...@ya... <mailto:jam...@ya...>> > > Hi, > > I would like to extract a KML file from Gramps with the same event detail as the Geography/Events view (ie each location lists the event's date/type/person). > > I can get a KML extract for a selection of locations in the main Places view by selecting GoogleEarth as the map service and clicking the show-places button. But this extract only holds location information, without related event details. > > There is some mention of such a report here http://www.gramps-project.org/wiki/index.php?title=Geographic_Report but that report does not function and it seems that it has been abandoned. > > Is there any way to get such a KML extract of locations with events? I thought there was a Google Earth option in Geography, but I am unable to find that. > > > The mapping functionality has been a fast changing target in Gramps. > After Geography view, I stopped maintaining the KML export 3rd party plugin. We could see the data in Gramps proper. > The code could be adapted to current Gramps however by somebody interested. > We also moved to openstreetmap due to better support when used in an app like Gramps. I don't see an export to KML in that tool however, so it should be it's own plugin. > > Benny > > > Thanks, > James > Serge |