diff --git a/gramps/src/WriteXML.py b/gramps/src/WriteXML.py
index cd9e83035..1d2ac8da0 100644
--- a/gramps/src/WriteXML.py
+++ b/gramps/src/WriteXML.py
@@ -291,6 +291,9 @@ def exportData(database, filename, callback):
write_line(g,"uid",person.getPafUid(),3)
write_line(g,"nick",person.getNickName(),3)
+ pos = person.getPosition()
+ if pos != None:
+ g.write('