This commit is contained in:
Komzpa 2012-05-07 19:47:58 +03:00
parent 7b8872c08d
commit 92dad96415

View file

@ -334,7 +334,7 @@ if options.renderer == "mapnik":
dk.sort()
for ele in dk:
(color, opacity) = demcolors[ele]
demramp["ocean"] += '<stop value="%s" color="rgba(%s,%s,%s,%s)"/>' %(ele+11701, int(color[1:3],16), int(color[3:5],16), int(color[5:7],16), opacity)
demramp["ocean"] += '<stop value="%s" color="rgba(%s,%s,%s,%s)"/>' %(ele+10701, int(color[1:3],16), int(color[3:5],16), int(color[5:7],16), opacity)
demramp["ground"] += '<stop value="%s" color="rgba(%s,%s,%s,%s)"/>' %(ele, int(color[1:3],16), int(color[3:5],16), int(color[5:7],16), opacity)