How to import a Line Shape File (.shp) into a CUBE Voyager PT Line File (.lin)


Building a .lin file from .shp file is available from Files > Tools > Build PT Lines from Shp…:

Two data layers are needed to accomplish this task:

Note: the shape file needs to be projected accordingly to the NET file coordinate system to have correct alignment between the two layers.

The DBF table associated to the input Shape File must have a NAME field for the line name (unique identifier). If there are multiple shapes with the same line name, the program will automatically append a number to the line name, to make them unique lines in the output .lin file.

Other line fields are optional, but if they are named as below, they will be transferred to the matching Voyager line level keywords:

Once the input .shp file has been updated with the unique line names, the following steps should be accomplished to convert the shapes to .lin:

1. Open the .net file in the CUBE Network window.

2. Add the polylines layer with the PT services shapes .shp:

3. Escalate the .shp layer as top layer as below:

4.Select Files > Tools > Build PT Lines from Shp

5.Save the .lin file as .lin file.

6.Select the tolerance and Unconnected Nodes if that will be used.

7.Check the report. Note: the report can be saved as TXT for automatic processing and checking of the consistency with the data.

8. Add the transit layer to the network for visually check consistency (depending on the original alignment with the network nodes).