Corrected residential and forest textures, fixed bug in layergen with river and stream rendering, corrected order for nature reserve and forests in defines.py .
Before Width: | Height: | Size: 5.5 MiB After Width: | Height: | Size: 8.3 MiB |
Before Width: | Height: | Size: 5.1 MiB After Width: | Height: | Size: 7.5 MiB |
Before Width: | Height: | Size: 6.5 MiB After Width: | Height: | Size: 8.5 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 3.6 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.9 MiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.4 MiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 960 KiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 1.6 MiB |
@ -97,10 +97,10 @@ mstr_ortho_layers = [
|
|||||||
("leisure", "pitch", "leisure", "green"),
|
("leisure", "pitch", "leisure", "green"),
|
||||||
("landuse", "farmland", "landuse", "farmland"),
|
("landuse", "farmland", "landuse", "farmland"),
|
||||||
("landuse", "farmyard", "landuse", "farmland"),
|
("landuse", "farmyard", "landuse", "farmland"),
|
||||||
# Z-Order 2
|
|
||||||
("landuse", "forest", "landuse", "forest"),
|
|
||||||
("leisure", "nature_reserve", "landuse", "forest"),
|
|
||||||
("landuse", "military", "landuse", "residential-boundary"),
|
("landuse", "military", "landuse", "residential-boundary"),
|
||||||
|
# Z-Order 2
|
||||||
|
("leisure", "nature_reserve", "landuse", "forest"),
|
||||||
|
("landuse", "forest", "landuse", "forest"),
|
||||||
# Z-Order 3
|
# Z-Order 3
|
||||||
("natural", "water", "natural", "water"),
|
("natural", "water", "natural", "water"),
|
||||||
("natural", "bay", "natural", "beach"),
|
("natural", "bay", "natural", "beach"),
|
||||||
@ -108,7 +108,7 @@ mstr_ortho_layers = [
|
|||||||
("water", "lake", "natural", "water"),
|
("water", "lake", "natural", "water"),
|
||||||
("water", "pond", "natural", "water"),
|
("water", "pond", "natural", "water"),
|
||||||
("water", "river", "natural", "water"),
|
("water", "river", "natural", "water"),
|
||||||
("waterway", "river", "natural", "water"),
|
("waterway", "river", 10),
|
||||||
("waterway", "stream", 10),
|
("waterway", "stream", 10),
|
||||||
("amenity", "parking", "amenities", "parking"),
|
("amenity", "parking", "amenities", "parking"),
|
||||||
("highway", "pedestrian", 4),
|
("highway", "pedestrian", 4),
|
||||||
|
@ -391,7 +391,7 @@ class mstr_layergen:
|
|||||||
if self._tag == "highway":
|
if self._tag == "highway":
|
||||||
d = randrange(81, 101)
|
d = randrange(81, 101)
|
||||||
layer_comp_pix[x, y] = ( d,d,d,a[3] )
|
layer_comp_pix[x, y] = ( d,d,d,a[3] )
|
||||||
if self._tag == "waterway" and self._value == "stream":
|
if self._tag == "waterway" and (self._value == "stream" or self._value == "river"):
|
||||||
d = randrange(1, 15)
|
d = randrange(1, 15)
|
||||||
layer_comp_pix[x, y] = ( 19-d, 62-d, 71-d, a[3] )
|
layer_comp_pix[x, y] = ( 19-d, 62-d, 71-d, a[3] )
|
||||||
if self._tag == "building":
|
if self._tag == "building":
|
||||||
|