nengeesri-ca-esridist

Where to set Max Height for Zoning Shells?

Discussion created by nengeesri-ca-esridist Employee on Oct 18, 2013
Latest reply on Oct 21, 2013 by CWilkins-esristaff
I have a zoning layer (actually an OCP layer) that I have applied the Redlands Redevelopment Multipatch thematic .cga to. I've customized the script to include my own height limits and setbacks in the Transects in the referenced zoning.cga. How do I extrude the zones into zone shells based on a maxheights values for each case...? I assume I'd have to create a MaxHeightPerTransect(transect) function..?

usageColor(usage) =  //case usage == "Residential" : zoningSettings.Zone_Color_Residential
 case usage == "Commercial" : zoningSettings.Zone_Color_Commercial
 case usage == "Office" : zoningSettings.Zone_Color_Office
 case usage == "Parking" : zoningSettings.Zone_Color_Parking
 case usage == "Other" : zoningSettings.Zone_Color_Other
 case usage == "Green Space" : zoningSettings.Zone_Color_Green_Space
 case usage == "New Development" : zoningSettings.Zone_Color_New_Development
 case usage == "None" : zoningSettings.Zone_Color_None
 case usage == "Residential1" : zoningSettings.OCP_Colour_Residential1
 case usage == "Residential2" : zoningSettings.OCP_Colour_Residential2
 case usage == "Residential3" : zoningSettings.OCP_Colour_Residential3
 case usage == "Residential4" : zoningSettings.OCP_Colour_Residential4
 case usage == "Residential5" : zoningSettings.OCP_Colour_Residential5
 case usage == "Residential6" : zoningSettings.OCP_Colour_Residential6
 case usage == "Neighbourhood Commercial" : zoningSettings.OCP_Colour_MixedUse1
 case usage == "Harbourside Waterfront" : zoningSettings.OCP_Colour_MixedUse2
 case usage == "Urban Corridor" : zoningSettings.OCP_Colour_MixedUse3
 case usage == "Town Centre" : zoningSettings.OCP_Colour_MixedUse4
 else: zoningSettings.Zone_Color_None




and for the transects:
const Transect_T1 = "T1 Natural"const Transect_T2 = "T2 Rural"
const Transect_T3 = "T3 Residential1"
const Transect_T4 = "T4 Residential2"
const Transect_T5 = "T5 Residential3"
const Transect_T6 = "T6 Residential4"
const Transect_T7 = "T7 Residential5"
const Transect_T8 = "T8 Residential6"
const Transect_T9 = "T9 Commercial"
const Transect_T10 = "T10 Harbourside"
const Transect_T11 = "T11 Urban"
const Transect_T12 = "T12 Town Centre"




floorCountMinPerTransect(transect) = 
 case transect == Transect_T1: 1
 case transect == Transect_T2: 1 
 case transect == Transect_T3: 1
 case transect == Transect_T4: 1
 case transect == Transect_T5: 1
 case transect == Transect_T6: 2
 case transect == Transect_T7: 2
 case transect == Transect_T8: 3
 case transect == Transect_T9: 1
 case transect == Transect_T10: 1
 case transect == Transect_T11: 1
 case transect == Transect_T12: 1
 else: 1


floorCountMaxPerTransect(transect) = 
 case transect == Transect_T1: 1
 case transect == Transect_T2: 1 
 case transect == Transect_T3: 2
 case transect == Transect_T4: 2
 case transect == Transect_T5: 3
 case transect == Transect_T6: 4
 case transect == Transect_T7: 6
 case transect == Transect_T8: 5
 case transect == Transect_T9: 2
 case transect == Transect_T10: 7
 case transect == Transect_T11: 10
 case transect == Transect_T12: 10
 else: 1


streetSetbackPerTransect(transect) = 
 case transect == Transect_T1: 0
 case transect == Transect_T2: 0 
 case transect == Transect_T3: 7.62
 case transect == Transect_T4: 7.62
 case transect == Transect_T5: 6.096
 case transect == Transect_T6: 6.096
 case transect == Transect_T7: 3.048
 case transect == Transect_T8: 6.096
 case transect == Transect_T9: 0
 case transect == Transect_T10: 0
 case transect == Transect_T11: 0
 case transect == Transect_T12: 0
 else: 1


sideSetbackPerTransect(transect) = 
 case transect == Transect_T1: 0
 case transect == Transect_T2: 0 
 case transect == Transect_T3: 3.048
 case transect == Transect_T4: 3.048
 case transect == Transect_T5: 6.096
 case transect == Transect_T6: 6.096
 case transect == Transect_T7: 6.096
 case transect == Transect_T8: 6.096
 case transect == Transect_T9: 3.048
 case transect == Transect_T10: 3.048
 case transect == Transect_T11: 0
 case transect == Transect_T12: 0
 else: 1


backSetbackPerTransect(transect) = 
 case transect == Transect_T1: 0
 case transect == Transect_T2: 0
 case transect == Transect_T3: 7.62
 case transect == Transect_T4: 7.62
 case transect == Transect_T5: 6.096
 case transect == Transect_T6: 6.096
 case transect == Transect_T7: 6.096
 case transect == Transect_T8: 6.096
 case transect == Transect_T9: 6.096
 case transect == Transect_T10: 6.096
 case transect == Transect_T11: 0
 case transect == Transect_T12: 0
 else: 1

Outcomes