* src/GrampsDbUtils/_WriteGedcom.py: Generate LONG and LATI
* src/docgen/Makefile.am: replace LPRDoc with GtkPrint 2007-08-24 Don Allingham <don@gramps-project.org> svn: r8860
This commit is contained in:
parent
c31914c057
commit
94aa96e72d
@ -1,3 +1,7 @@
|
||||
2007-08-24 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDbUtils/_WriteGedcom.py: Generate LONG and LATI
|
||||
* src/docgen/Makefile.am: replace LPRDoc with GtkPrint
|
||||
|
||||
2007-08-24 Don Allingham <don@gramps-project.org>
|
||||
* src/Config/_GrampsConfigKeys.py: added coment on how do add a new
|
||||
key
|
||||
|
@ -1281,6 +1281,12 @@ class GedcomWriter(UpdateCallback):
|
||||
def write_place(self, place, level):
|
||||
place_name = place.get_title()
|
||||
self.__writeln(level, "PLAC", place_name.replace('\r', ' '))
|
||||
long = place.get_longitude()
|
||||
lat = place.get_latitude()
|
||||
if long and lat:
|
||||
self.__writeln(level+1, "MAP")
|
||||
self.__writeln(level+2, 'LATI', lat)
|
||||
self.__writeln(level+2, 'LONG', long)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -18,7 +18,7 @@ docgen_PYTHON = \
|
||||
PSDrawDoc.py\
|
||||
RTFDoc.py\
|
||||
SvgDrawDoc.py\
|
||||
LPRDoc.py
|
||||
GtkPrint.py
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
Loading…
Reference in New Issue
Block a user