Skip to main content

Roads (flow node)

Use the Roads node to change the color and settings of roads and paths

Written by Holly Conrad Smith

Use this when you want to control the color and visual settings of roads or paths within a flow, for example styling road geometry as part of a site masterplan output.

This is an advanced function. Road and path color is set by Giraffe so roads join nicely. Editing the road color via flow can give unexpected results.

Inputs

Name

Abbreviation

Type

Access

Description

Input

I

Feature

List

The input data

Transform

T

Object

Item

Transform controls (overridden by individual parameters)

Outputs

Name

Abbreviation

Type

Access

Description

Primary

P

Object

List

The primary output

How to:

  1. Feed in a linestring geometry with the Road usage applied.

  2. Connect the Roads transform to the Roads T input.

  3. Change the defaults for the roads by clicking "edit defaults" on the transform

  4. The result is a road with the selected colors and heights applied

Roads Transform

The Roads Transform automatically adds settings to the properties palette. Adjust the settings to change the road rendering.

Road Height: The height of the road geometry.

Road Color: The color of the driving surface

Pavement Height: The height of the footpath/sidewalk

Pavement Color: The color of the walking surface

Healing

Note that once the colors are changed, road no longer automatically heal:

Add the Roads Node to an Existing Flow

If your flow already draws road or path geometry without the Roads node, for example with Offset, Fillet Corners, or other primitive nodes, add the Roads node to take over the styling instead of trying to recolor that geometry directly.

  1. Click the wire feeding your flow's write features node and press del to remove it.

  2. Add a Roads node and a Roads transform node to the canvas.

  3. Connect your road geometry, with the Road usage already applied, into the Roads node's Input connector, in place of the wire you just removed.

  4. Connect the Roads transform node's output into the Roads node's Roads T input.

  5. Connect the Roads node's output into write features.

  6. Click Edit defaults on the Roads transform node and set Road Color.

Write Feature Color and other generic color nodes don't change how a road or path renders. Road and path color comes from the Roads transform's own Road Color and Pavement Color settings.

If your Roads node instead shows Road Color and Pavement Color as inputs directly on the node, with no separate Roads transform node, you've turned on "Show exposed inputs when creating new nodes" in Flow Editor Tools. Set the colors directly on the node in that case: there's no Roads T input or Edit defaults step to follow.

Did this answer your question?