Street Parameters

Street Parameters can be individually set for each graph segment.

The parameters for Street Shape creation can be specified through the street parameter panel in the inspector

Street Parameters
Street Parameters
Note:

Attributes can be mapped to Default, User, Object or to a map layer. See Mapping Attributes for details.

General parameters

The following parameters are available for the user to control the resulting street shapes:

shapeCreation

If true, shapes are created from the street segment.

Street width and offset parameters

streetWidth

Defines the width of the main street shape.

streetOffset

Defines the distance the geometry will be offset from the center line.

sidewalkWidthLeft

Defines the width of the left sidewalk.

sidewalkWidthRight

Defines the width of the right sidewalk.

sidewalkWidthRight

Defines the width of the right sidewalk.

Precision parameters

precision

Graph nodes are interpolated using Bezier splines, resulting in curved streets. This parameter defines the spline sampling precision, i.e. 0 leads to a minimal and 1 to a maximal number of spline sampling points.

Lane width parameters

laneWidth

Determines the width of lanes used for UV texture mapping of streets.

Note:

Street widths are given in absolute length units, precision is given in a normalized [0, 1] range.

Auto-generated connection attributes

Connection attributes provide basic information about the underlying graph and give context information. CGA rules may want to access the following attributes.

A street shape selected in the viewport
A street shape selected in the Viewport
Street shape attributes
Street shape attributes in the Inspector

connectionStart

Hints as to the adjacent geometry at the start or end of a street segment shape. Values include: STREET, CROSSING, JUNCTION, JUNCTION_ENTRY, DEAD_END, FREEWAY, FREEWAY_ENTRY and ROUNDABOUT

connectionEnd

sidewalkSide

Which side of the street this Sidewalk shape is on, relative to the street direction: either Left or Right. SidewalkSide is only added to sidewalk shapes.

Note:

Connection attributes are object attributes of the graph segment and are inherited to the shape. The italic font indicate an inherited shape in the Inspector.