How do I obtain the width of roads as a CGA value

01-25-2018 06:22 AM
New Contributor

Hey Everyone,

Is there anyway within the CGA ruleset to get the width of a road, and sidewalk and use the sum as a value? I want to implement a CGA rule that can automatically generate buildings that are no taller than the width of both the road, and sidewalks infront of it. 


Tags (1)
0 Kudos
1 Reply
Esri Regular Contributor

In a dynamic shape, you can access the object attribute streetWidth, which contains a list of street widths, one for each edge of the polygon. 

Unfortunately, however, sidewalk widths are not accessible in this manner.

Is it possible to add the sidewalkRightWidth and sidewalkLeftWidth from the streetShape to the CGA r...