Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
CUBE
  • Product Communities
  • Mobility Simulation
  • CUBE
  • Cancel
CUBE
CUBE Wiki How to export a Public Transport Line File (.lin) into a Shape File and DBF files
    • Sign In
    • Wiki
    • -CUBE
      • +Announcements
      • +CUBE CONNECT Edition
      • -Cube 6
        • +Installation
        • +Licensing for CUBE 6.1.1
        • +Licensing for CUBE 6.4.x
        • -Base
          • How to fix ESRI Basemaps not loading anymore
          • +How to build a network from shape while there is NO A&B node information and get directions from the shape file?
          • How to export a Public Transport Line File (.lin) into a Shape File and DBF files
          • How to Load Raster Layer in Cube
          • Applying the power of GIS mapping capabilities inside CUBE
          • How to Add a New Centroid and Centroid Connector to a Network Which Already Has Existing Centroids/Centroid Connectors
          • How to Control the Model Applier's Accessibility to Applications and Catalog Keys?
          • How to fix 'Control ‘ScenAppPanel’ has no parent window'
          • Aligning underlying background images with CUBE Network (.net)
          • How to add ArcGIS online background maps to a highway network layer inside GIS window?
          • How to Add Branch Control?
          • How to Add Centroids and Centroid Connectors in CUBE Networks
          • How to compare networks and create difference network bandwidths?
          • How to Create a Network from Shapefile?
          • How to Create and Run Modification Log Files
          • How to create and use catalog keys?
          • How to create Bandwidth maps
          • How to Create Node / Point Charts
          • How to Delete Catalog Keys in Text Editor?
          • How to fix the issue with empty tools ribbon in Cube Base?
          • How to import a Line Shape File (.shp) into a CUBE Voyager PT Line File (.lin)
          • How to Import/Export Network Data
          • How to Include Python in Your Cube Application Manager Workflow?
          • How to perform link attributes calculation for a polygon-based selection of links in the NET Window
          • How to Upload Your Maps to Arcgis Online Within the Application Manager Process Using Python?
          • +How to use a polygon to extract subarea networks in CUBE GIS
          • How to Use True Shape Display?
        • +Voyager
        • +Avenue
        • +Analyst
        • +Analyst Drive
        • +Land
        • +Cargo
        • +Cluster
      • CUBE Access (formerly Sugar Access)
      • +Learning CUBE

     
     Questions about this article, topic, or product? Click here. 

    How to export a Public Transport Line File (.lin) into a Shape File and DBF files

    To export a .lin file into a Shape File or DBF files you can use some voyager scripting to produce these files, or you can do this by going through some intermediate steps of creating a Cube PT network associated to your HW network in a CUBE Geodatabase file.

    If you are working with our Cube binary Highway Network (.net) and you have a Shape File (.shp) associated to it, you can import the .net file into a CUBE Geodatabase, to store your GIS CUBE network (keeping associated geometry and projections).

    If the Public Transport line file (.lin) is associated to this network, then you can import this layer as a CUBE Public Transport dataset, inside the same CUBE Geodabase, so that your PT layer will be synced to the associated HW network.

    In case you do not have a Shape File with the geometry, you can still import your network inside a CUBE Geodatbase and the associated PT line file, but you will obvoiusly do not have the geometry for each link but a "stick-links" network instead. 

    To undertake this intermediate steps and export your needed files please follow the steps below.

    1. Opening Data Manager

    2. First, you need to create a Cube Geodatabase (GDB or MDB) – clicking on “New Geodatabase”

    3. Once the Geodatabase is created and loaded in Data Manager, click on Import / Export data

    4. Select as Input your .net file and as Output a HW Network (feature dataset) inside the above created GDB - please select "True Shape" and select the associated shape file, in case you have one available

    5. Repeat step 3 and select as Input your .lin file and as Output a Transit Network (feature dataset) associated (sync) to the HW network that you created in step 4 selecting it as "Base network"

    6. Then you can Export the line feature dataset that you created as shape file (select the PTLine feature class as below), or the other layers as well (links and nodes sequences), in different format, like DBF tables (example in the screenshot below, where the dbf format has been selected as "Output type")

     

    • DBF
    • shape file
    • Line File
    • Share
    • History
    • More
    • Cancel
    • Filippo Contiero Created by Bentley Colleague Filippo Contiero
    • When: Tue, Aug 9 2022 10:42 AM
    • Filippo Contiero Last revision by Bentley Colleague Filippo Contiero
    • When: Tue, Aug 9 2022 10:42 AM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies