Convert tags to strings
This commit is contained in:
parent
9657ab9424
commit
f41407e6b2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class SourcePoint:
|
|||
self.id = str(pid)
|
||||
self.lat = lat
|
||||
self.lon = lon
|
||||
self.tags = {} if tags is None else tags
|
||||
self.tags = {} if tags is None else {k: str(v) for k, v in tags.items()}
|
||||
|
||||
def distance(self, other):
|
||||
"""Calculate distance in meters."""
|
||||
|
|
Loading…
Add table
Reference in a new issue