Draw Tool

The draw tool is used to create infrastructure pathways on the current Layer.

Drawing Methods

  • Once you have selected the draw tool, you will be given the option of drawing one or two way paths. The default is 1-way but this can be toggled from within the Tool Properties panel, or by using the 1 or 2 keyboard shortcuts.

multiline

1 and 2 way paths can be distinguished visually by zooming into the map.

multilines

  • The Draw tool's properties panel also allows you to set the drive-side for a 2-way path.

drive_side

The drive-side of 2-way path is determined by the location set during the project's creation. You can toggle this setting to override the legal drive-side for the country in which your project is based. The default drive-side for the project can also be changed in the Project Settings.

The drive-side can be set on a per-layer basis when adding a new layer, or when changing a layer's properties. Here you can select from the default specified in the Project Settings or from left/right/

drive_side_layer

  • Click once on any part of the map to add a control point. c_point_noline Connecting lines will be added automatically between additional control points. Curves will generated automatically according to the properties of the active layer's LayerType.

  • Stations can be linked by using the draw tool to select each one in succession.

  • Clicking within an existing line will add an additional constraint point. By default, this point will be constrained to its line. It can be unconstrained by un-checking "snap to line" in its properties.

  • Click-dragging on a line will insert a new point not snapped to that line. You can then move the point to any location.

caution Note: constraint points can only be added to straight control lines and not paths (curved lines) generated by the application

With the draw tool (as with the Select tool), you may also select and move individual points, by dragging them around.

Note that depending on the LayerType of the current layer, you may not always be able to connect two points together. (For example: Personal Rapid Transit systems only allow merges and diverges with a maximum of two inbound or two outbound connections.)

Precise Drawing

It is possible to define the exact dimension of a line if you require greater accuracy than is achievable by drawing freehand.

  1. Select the draw tool and either select an existing control point by clicking on it, or click on the map to create a new control point.

  2. Extend the guideline so that it is pointing in the desired direction.

  3. Type a dimension -- followed by the desired units: "m", "km", "ft", or "mi" -- and type Enter to create a line of that distance.

  4. Typing a dimension and pressing Tab will allow you to enter the heading in degrees. 0 is north, 90 is east, 180 is south, 270 or -90 is west.

  5. Pressing Enter or Tab again will complete the line.

    This process allows you to specify very exact dimensions. If, for example, you wanted to draw a line 100m due north, then 50m north-east, you would first click to begin drawing the line, then:

    • Type 100m Tab 0 Enter to draw the line due north.
    • Type 50m Tab 45 Enter to draw the line northeast.

precisedraw

caution Note: Precise drawing is currently only available for transport layers (this feature is coming soon for dataset layers).

Understanding parametric constraints

The Draw tool generates curves with constraints-based parametric modelling, which unifies planning and engineering concerns. It applies the following rules, in order of priority:

  1. All curves must be tangent to their defining lines
  2. The path must be as fast as possible (since transport planners generally want speed)
  3. The path must be as straight as possible (since curves are more expensive to engineer)

Often, these automatic curves are exactly what you want. When they're not, you can make different curves by setting selecting their points and setting additional constraints, as in the video above.

Creating complex geometry with 2-way paths

The ability to mix 1 and 2 way paths makes the creation of complex transport systems such as roundabouts and cloverleaf junctions easy. The video below demonstrates just how quick the process can be.