wm

Wang–Müller line generalization algorithm in PostGIS
Log | Files | Refs | README | LICENSE

commit cdce5dd41ae87e5b87754bf8734eb5d3a79058d7 (tree)
parent 0bd8a9d219f0b83b59e9b1f53355e40599356858
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Wed, 19 May 2021 22:57:51 +0300

more nits

Diffstat:
Mlayer2img.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/layer2img.py b/layer2img.py @@ -18,9 +18,7 @@ TEXTWIDTH_CM = 12.12364 def color(string): - if not string: - string = 'black' - return COLORS[string] + return COLORS[string if string else 'black'] def inch(cm):