mirror of
https://github.com/DerTyp7/local-analyzer-python.git
synced 2025-10-29 12:32:10 +01:00
get shops
This commit is contained in:
19
objects.py
19
objects.py
@@ -12,7 +12,24 @@ class Node:
|
||||
|
||||
class NodeTag:
|
||||
def __init__(self, _id, _nodeId, _key, _value):
|
||||
self.id = _id
|
||||
self.id = int(_id)
|
||||
self.nodeId = int(_nodeId)
|
||||
self.key = str(_key)
|
||||
self.value = str(_value)
|
||||
|
||||
class Way:
|
||||
def __init__(self, _id, _version, _timestamp, _changeset, _uid, _user):
|
||||
self.id = int(_id)
|
||||
self.version = str(_version)
|
||||
self.timestamp = str(_timestamp)
|
||||
self.changeset = int(_changeset)
|
||||
self.uid = int(_uid)
|
||||
self.user = str(_user)
|
||||
|
||||
|
||||
class WayTag:
|
||||
def __init__(self, _id, _wayId, _key, _value):
|
||||
self.id = int(_id)
|
||||
self.wayId = int(_wayId)
|
||||
self.key = str(_key)
|
||||
self.value = str(_value)
|
||||
|
||||
Reference in New Issue
Block a user