Skip to content

Commit

Permalink
fix #6539
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 13, 2022
1 parent 356d276 commit bb2e07b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/osmWebWizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit bb2e07b

Please sign in to comment.