From 9e3bd4e0523ddceee6b50775a92aa7d609a17a22 Mon Sep 17 00:00:00 2001 From: Michel Korfhage Date: Mon, 7 Oct 2024 16:28:23 +0200 Subject: [PATCH] fix import from osm for more recent python versions --- operators/io_import_osm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operators/io_import_osm.py b/operators/io_import_osm.py index 877b649c..fdb3d0a7 100644 --- a/operators/io_import_osm.py +++ b/operators/io_import_osm.py @@ -284,7 +284,7 @@ def seed(id, tags, pts): if minH < 0 : minH = 0 maxH = self.defaultHeight + self.randomHeightThreshold - offset = random.randint(minH, maxH) + offset = random.uniform(minH, maxH) #Extrude """