From bb2e07b2dba14e46b06a5fcd6eb148efa910eb7a Mon Sep 17 00:00:00 2001 From: namdre Date: Fri, 13 May 2022 16:59:06 +0200 Subject: [PATCH] fix #6539 --- tools/osmWebWizard.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/osmWebWizard.py b/tools/osmWebWizard.py index 69d687f8a31..4ffbd5d083d 100755 --- a/tools/osmWebWizard.py +++ b/tools/osmWebWizard.py @@ -233,6 +233,10 @@ def build(self): netconvertOptions += ",--railway.topology.repair" if self.data["leftHand"]: netconvertOptions += ",--lefthand" + if self.data["decal"]: + # change projection to web-mercator to match the background image projection + netconvertOptions += ",--proj,+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" # noqa + if self.data["carOnlyNetwork"]: if self.data["publicTransport"]: options += ["--vehicle-classes", "publicTransport"]