]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/steps/api_result.py
Reverse geocode include geometry
[nominatim.git] / tests / steps / api_result.py
index 4910c157649d17bc7f818abeca610f366eb75c18..5e1bcc90e09ee0b8ae82e101939f8a3fcc4c4917 100644 (file)
@@ -98,6 +98,8 @@ def _parse_xml():
                     attrs = dict(tag.attributes.items())
                     assert_in('desc', attrs)
                     world.results[0]['namedetails'][attrs['desc']] = tag.firstChild.nodeValue.strip()
+            elif node.nodeName == "geokml":
+                world.results[0]['geokml'] = node
             elif node.nodeName == "#text":
                 pass
             else: