diff options
Diffstat (limited to 'chimere/utils.py')
-rw-r--r-- | chimere/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index 06dc1e3..4cd6f45 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -222,6 +222,9 @@ class KMLManager(ImportManager): for item in placemark: if item.tag == ns + 'name': name = item.text + if not pl_id: + # if no ID is provided assume that name is a key + pl_id = name elif item.tag == ns + 'description': description = item.text elif item.tag == ns + 'Point': |