Add frame icon, ridge, scree, rock.

This commit is contained in:
Sergey Vartanov 2020-09-06 11:40:24 +03:00
parent 4fe7707118
commit ff333e83a3
3 changed files with 7841 additions and 7696 deletions

View file

@ -38,8 +38,11 @@ colors:
primary_border_color: "888888" # "AA8800"
primary_color: "FFFFFF" # "FFDD66"
private_access_color: "884444"
ridge_color: "000000"
road_border_color: "CCCCCC"
rock_color: "DDDDDD"
sand_color: "F0E0D0"
scree_color: "CCCCCC"
water_color: "AACCFF"
water_border_color: "6688BB"
wood_color: "B8CC84"
@ -255,6 +258,10 @@ tags:
icon: [gift]
- tags: {shop: watches}
icon: [watches]
- tags: {craft: watchmaker}
icon: [watches]
- tags: {shop: frame}
icon: [frame]
# Place of worship
@ -583,6 +590,15 @@ ways:
stroke: water_border_color
stroke-width: 1
layer: 21
- tags: {natural: ridge}
stroke-width: 2
opacity: 0.3
stroke: ridge_color
layer: 21
- tags: {natural: bare_rock}
fill: rock_color
- tags: {natural: scree}
fill: scree_color
- tags: {landuse: grass}
fill: grass_color

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 431 KiB

8
roentgen/util.py Normal file
View file

@ -0,0 +1,8 @@
class MinMax:
def __init__(self):
self.min_ = None
self.max_ = None
def add(self, value):
self.min_ = value if not self.min_ or value < self.min_ else self.min_
self.max_ = value if not self.max_ or value > self.max_ else self.max_