AnsweredAssumed Answered

Streets UV Split Behavior

Question asked by devlavigne on Nov 15, 2016
Latest reply on Sep 19, 2017 by Holisticbynature

I'm running into something I can't wrap my brain around - I'm trying to split a street shape and it looks as though its adding in 4 extra meters - assuming its because of the default sidewalkWidthLeft and sidewalkWidthRight. This is complicating my splits a bit and when I look through the ESRI rules for streets I can't see where this is being accounted for. Am I missing something? Shouldn't this rule put in 4 equal splits between the sidewalks? The console reports 4 equal splits.

 

lenAlongV = geometry.dv(0,unitSpace)

##############################
#      Street
@StartRule
Street -->      print("Starting Street Width:" + lenAlongV)                                                        # Print Width
               BuildStreet

BuildStreet-->
               split(v, unitSpace, 0) {'0.25:RandomColor print("Split Widths: " + lenAlongV)}*               # Print Split Widths
          
RandomColor-->
               color(rand(0,1),rand(0,1), rand(0,1))
               
Sidewalk -->      print("Sidewalk Width:" + lenAlongV)                                                            # Print Sidewalk Widths
                    RandomColor

 

Instead I'm getting this

Outcomes