<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to import a Line Shape File (.shp) into a CUBE Voyager PT Line File (.lin)</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64600/how-to-import-a-line-shape-file-shp-into-a-cube-voyager-pt-line-file-lin</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to import a Line Shape File (.shp) into a CUBE Voyager PT Line File (.lin)</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64600/how-to-import-a-line-shape-file-shp-into-a-cube-voyager-pt-line-file-lin</link><pubDate>Wed, 15 Feb 2023 17:40:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:519c38f9-6bf2-43b6-bfc5-97d0f962f599</guid><dc:creator>Vu Dang</dc:creator><comments>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64600/how-to-import-a-line-shape-file-shp-into-a-cube-voyager-pt-line-file-lin#comments</comments><description>Current Revision posted to CUBE Wiki by Vu Dang on 2/15/2023 5:40:45 PM&lt;br /&gt;
&lt;p&gt;Building a .lin file from .shp file is available from &lt;em&gt;&lt;strong&gt;Files &amp;gt; Tools &amp;gt; Build PT Lines from Shp&amp;hellip;&lt;/strong&gt;&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600674150537v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Two data layers are needed to accomplish this task:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Shape File containing the shapes of the transit lines&lt;/li&gt;
&lt;li&gt;A CUBE Binary network file (.net)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Note&lt;/span&gt;: the shape file needs to be projected accordingly to the NET file coordinate system to have correct alignment between the two layers.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Other line fields are optional, but if they are named as below, they will be transferred to the matching Voyager line level keywords:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LONGNAME, ALLSTOPS, COLOR&lt;/li&gt;
&lt;li&gt;HEADWAY1, HEADWAY2, HEADWAY3, HEADWAY4, HEADWAY5&lt;/li&gt;
&lt;li&gt;HEADWAY_R1, HEADWAY_R2, HEADWAY_R3, HEADWAY_R4,HEADWAY_R5&lt;/li&gt;
&lt;li&gt;MODE, ONEWAY, OPERATOR, RUNTIME, TIMEFAC, XYSPEED,LAYOVER&lt;/li&gt;
&lt;li&gt;CIRCULAR, FARESYSTEM&lt;/li&gt;
&lt;li&gt;VEHICLETYP, SEATCAP, CRUSHCAP, FMCAPACITY, LOADDISTFA,CROWDCURVE&lt;/li&gt;
&lt;li&gt;USERN1,USERN2,USERN3,USERN4,USERN5&lt;/li&gt;
&lt;li&gt;USERA1,USERA2,USERA3,USERA4,USERA5&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;1. Open the .net file in the CUBE Network window.&lt;/p&gt;
&lt;p&gt;2. Add the polylines layer with the PT services shapes .shp:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600675515507v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;3. Escalate the .shp layer as top layer as below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600675550009v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;4.Select &lt;b&gt;&lt;em&gt;Files &amp;gt; Tools &amp;gt; Build PT Lines from &lt;/em&gt;&lt;/b&gt;&lt;em&gt;&lt;b&gt;Shp&lt;/b&gt;&lt;/em&gt;&lt;b&gt;&lt;em&gt;&amp;hellip;&lt;/em&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;5.Save the .lin file as .lin file.&lt;/p&gt;
&lt;p&gt;6.Select the tolerance and Unconnected Nodes if that will be used.&lt;/p&gt;
&lt;p&gt;7.Check the report.&amp;nbsp;Note: the report can be saved as TXT for automatic processing and checking of the consistency with the data.&lt;/p&gt;
&lt;p&gt;8. Add the transit layer to the network for visually check consistency (depending on the original alignment with the network nodes).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>How to import a Line Shape File (.shp) into a CUBE Voyager PT Line File (.lin)</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64600/how-to-import-a-line-shape-file-shp-into-a-cube-voyager-pt-line-file-lin/revision/1</link><pubDate>Tue, 14 Feb 2023 07:34:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:519c38f9-6bf2-43b6-bfc5-97d0f962f599</guid><dc:creator>Angela Jose</dc:creator><comments>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64600/how-to-import-a-line-shape-file-shp-into-a-cube-voyager-pt-line-file-lin#comments</comments><description>Revision 1 posted to CUBE Wiki by Angela Jose on 2/14/2023 7:34:24 AM&lt;br /&gt;
&lt;p&gt;Building a .lin file from .shp file is available from &amp;ldquo;Files &amp;gt; Tools &amp;gt; Build PT Lines from Shp&amp;hellip;&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600674150537v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Two data layers are needed to accomplish this task:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Shape File containing the shapes of the transit lines&lt;/li&gt;
&lt;li&gt;A CUBE Binary network file (.net)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Note&lt;/span&gt;: the shape file needs to be projected accordingly to the NET file coordinate system to have correct alignment between the two layers.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Other line fields are optional, but if they are named as below, they will be transferred to the matching Voyager line level keywords:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LONGNAME, ALLSTOPS, COLOR&lt;/li&gt;
&lt;li&gt;HEADWAY1, HEADWAY2, HEADWAY3, HEADWAY4, HEADWAY5&lt;/li&gt;
&lt;li&gt;HEADWAY_R1, HEADWAY_R2, HEADWAY_R3, HEADWAY_R4,HEADWAY_R5&lt;/li&gt;
&lt;li&gt;MODE, ONEWAY, OPERATOR, RUNTIME, TIMEFAC, XYSPEED,LAYOVER&lt;/li&gt;
&lt;li&gt;CIRCULAR, FARESYSTEM&lt;/li&gt;
&lt;li&gt;VEHICLETYP, SEATCAP, CRUSHCAP, FMCAPACITY, LOADDISTFA,CROWDCURVE&lt;/li&gt;
&lt;li&gt;USERN1,USERN2,USERN3,USERN4,USERN5&lt;/li&gt;
&lt;li&gt;USERA1,USERA2,USERA3,USERA4,USERA5&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;1. Open the .net file in the CUBE Network window.&lt;/p&gt;
&lt;p&gt;2. Add the polylines layer with the PT services shapes .shp:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600675515507v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;3. Escalate the .shp layer as top layer as below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1600675550009v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;4.Select &lt;b&gt;&amp;ldquo;Files &amp;gt; Tools &amp;gt; Build PT Lines from &lt;/b&gt;&lt;b&gt;Shp&lt;/b&gt;&lt;b&gt;&amp;hellip;&amp;rdquo;&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;5.Save the .lin file as .lin file.&lt;/p&gt;
&lt;p&gt;6.Select the tolerance and&amp;nbsp;if to use Unconnected Nodes.&lt;/p&gt;
&lt;p&gt;7.Check the report.&amp;nbsp;Note: the report can be saved as TXT for automatic processing and checking of the consistency with the data.&lt;/p&gt;
&lt;p&gt;8. Add the transit layer to the network for visually check consistency (depending on the original alignment with the network nodes).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>