no reverse sort here

This commit is contained in:
Laura Klünder 2018-12-21 19:13:36 +01:00
parent a61807640b
commit 06cc96680c

View file

@ -172,7 +172,7 @@ class LevelGeometries:
for access_restriction, areas in tuple(color_group.items()):
color_group[access_restriction] = unary_union(areas)
colors = {color: geometry for color, geometry in sorted(colors.items(), key=lambda v: v[0][0], reverse=True)}
colors = {color: geometry for color, geometry in sorted(colors.items(), key=lambda v: v[0][0])}
# add altitudegroup geometries and split ground colors into them
for altitudearea in level.altitudeareas.all():