mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-28 08:26:27 +02:00
Fix tags processing.
This commit is contained in:
parent
e31719eda7
commit
eaa90663e9
6 changed files with 59 additions and 49 deletions
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Test label generation for nodes.
|
||||
"""
|
||||
from typing import List
|
||||
from typing import List, Set
|
||||
|
||||
from roentgen.text import Label
|
||||
from test import SCHEME
|
||||
|
@ -14,7 +14,8 @@ def construct_labels(tags) -> List[Label]:
|
|||
"""
|
||||
Construct labels from OSM node tags.
|
||||
"""
|
||||
return SCHEME.construct_text(tags, "all")
|
||||
processed: Set[str] = set()
|
||||
return SCHEME.construct_text(tags, "all", processed)
|
||||
|
||||
|
||||
def test_1_label() -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue