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 build a network from shape while there is NO A&B node information and get directions from the shape file?
    • 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?
            • Building network from shapefiles
          • 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 build a network from shape while there is NO A&B node information and get directions from the shape file?

    Product(s): Cube
    Version(s): 6.1 to 6.5
    Area: Data Manager


    We learned how to use the Build Network from Shapefile tool (BNFS) here. However, on occasion there will be times where you have a network that has no A or B nodes. CUBE can create new origin and destination nodes. We will revisit the BNFS for this exercise. Download the ZIP data for this example.

    Solution

    1. If my shape file does NOT have A/B node field information, how do I create a .NET?
    Open build network from shape window and check ‘Add new A and B fields’.


    NOTE: In the \inputs\orgData, you can open the shape file and verify that there is NO A,B node information. Once you use this shape file to build a network, A and B node information will be added to the shape file. The altered set of inputs are stored in \inputs.

    2. How can I get the original directions from shape file back to .NET file?

    So if we have a line in Shape file, say 1001-1005 and the direction is from 1001 to 1005. In the .NET file, we will have two links, 1001-1005 and 1005-1001. We don’t know which link gives us the original direction as defined in the shape file.This can be done in one NETWORK program. Please refer to the attached catalog. At the end, you will have the following network below (myDir=1 means that its the original direction from the shape file).


    buildNetworkfromShape.zip

    • Share
    • History
    • More
    • Cancel
    • Vu Dang Created by Bentley Colleague Vu Dang
    • When: Wed, Mar 25 2020 11:06 AM
    • Filippo Contiero Last revision by Bentley Colleague Filippo Contiero
    • When: Tue, Aug 9 2022 10:42 AM
    • Revisions: 6
    • 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