Commit 074217fe authored by Rick Gruber-Riemer's avatar Rick Gruber-Riemer

More parameters and real shared object for power pole

parent ce3652e9
This diff is collapsed.
......@@ -106,10 +106,14 @@ CLUSTER_MIN_OBJECTS = 5 # -- discard cluster if to little objects
# PARAMETERS RELATED TO PYLONS, POWERLINES, AERIALWAYS IN osm2pylons.py
#=============================================================================
C2P_PROCESS_POWERLINES = True
C2P_PROCESS_AERIALWAYS = True
# Each powerline and aerialway has segments delimited by pylons. The longer the value the better clustering and
# the better the performance. However due to rounding errors the longer the length per cluster the larger the
# error.
C2P_CLUSTER_LINE_MAX_LENGTH = 500
C2P_CABLES_NO_SHADOW = True
# The radius for the cable. The cable will be a triangle with side length 2*radius.
# In order to be better visible the radius might be chosen larger than in real life
......@@ -120,6 +124,7 @@ C2P_RADIUS_AERIALWAY_CHAIR_LIFT = 0.1
C2P_RADIUS_AERIALWAY_DRAG_LIFT = 0.05
C2P_RADIUS_AERIALWAY_GONDOLA = 0.1
C2P_RADIUS_AERIALWAY_GOODS = 0.05
C2P_RADIUS_TOP_LINE = 0.05
# The number of extra points between 2 pylons to simulate sagging of the cable.
# If 0 is chosen or if CATENARY_A is 0 then no sagging is calculated, which is better for performances (less realistic)
......@@ -135,7 +140,7 @@ C2P_EXTRA_VERTICES_AERIALWAY_GOODS = 5
# The value for catenary_a can be experimentally determined by using osm2pylon.test_catenary
C2P_CATENARY_A_POWER_LINE = 1500
C2P_CATENARY_A_POWER_MINOR_LINE = 1500
C2P_CATENARY_A_POWER_MINOR_LINE = 1200
C2P_CATENARY_A_AERIALWAY_CABLE_CAR = 1500
C2P_CATENARY_A_AERIALWAY_CHAIR_LIFT = 1500
C2P_CATENARY_A_AERIALWAY_DRAG_LIFT = 1500
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment