WS30: Improved road generation
This commit is contained in:
@@ -106,6 +106,12 @@ def parse_way(way) :
|
||||
write_feature(lon, lat, way.nodes, feature_type)
|
||||
tileids.add(idx)
|
||||
|
||||
def get_first_node(way) :
|
||||
return way.nodes[0]
|
||||
|
||||
def get_last_node(way) :
|
||||
return way.nodes[-1]
|
||||
|
||||
def parse_multi(relation):
|
||||
for way in relation.members:
|
||||
if (way.tags.get("role") == "outer") :
|
||||
|
||||
Reference in New Issue
Block a user