mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-02 08:09:57 +02:00
Fix direction; add scale computing.
This commit is contained in:
parent
197ee5c0ec
commit
8d8080181e
7 changed files with 133 additions and 55 deletions
|
@ -173,7 +173,7 @@ class Map:
|
|||
self.node_map[node.id_] = node
|
||||
if node.user:
|
||||
self.authors.add(node.user)
|
||||
self.time.add(node.timestamp)
|
||||
self.time.update(node.timestamp)
|
||||
|
||||
def add_way(self, way: OSMWay):
|
||||
"""
|
||||
|
@ -182,7 +182,7 @@ class Map:
|
|||
self.way_map[way.id_] = way
|
||||
if way.user:
|
||||
self.authors.add(way.user)
|
||||
self.time.add(way.timestamp)
|
||||
self.time.update(way.timestamp)
|
||||
|
||||
def add_relation(self, relation: OSMRelation):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue