Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenCities Map
  • Product Communities
  • Geospatial
  • OpenCities Map
  • Cancel
OpenCities Map
OpenCities Map Wiki - Saving connection parameters to settings file
    • Sign In
    • -OpenCities Map Wiki
      • -OpenCities Map
        • - End of Support for Bentley Map V8i (SELECTseries) products
        • +Release Information
        • +Installation Information
        • +Getting Started
        • +Administration
        • +General Topics
        • +Geospatial Administrator
        • +Feature Definitions and Inference Rules
        • +Interoperability
        • -Spatial Databases
          • - 3D arcs being stroked when posted and queried
          • - Angle of queried point feature is wrong
          • - Conflict Inspector
          • - Convert DGNs with MSLinks to MS SQL Server Spatial via FME
          • - Create domain lists in Microsoft SQL Server Spatial or Oracle
          • - Create XFM DGN file using Import from database
          • - Creating a Map schema for spatial features
          • - Creating Oracle Spatial multi-table views
          • - Creating Oracle Spatial Views
          • - Data streaming
          • - Data streaming and the Data Browser
          • - Date field settings for use with PBA in SQL Server
          • - Determine which features are locked and modified
          • - Difference between Erase and Delete for removing spatial database features
          • - Disable Connect to Database dialog
          • - Esri File Geodatabase as a Graphical Source
          • - Establish database connection upon startup
          • - Item names showing __x00##__
          • - Keep connection to database open when changing files
          • - Key-ins for interacting with spatial databases
          • - Key-ins to created queries incorporating a simple WHERE
          • - Long transactions - Versioned optimistic transactions
          • - Non planar polygon posting error ORA-54505
          • - Oracle views in spatial feature definitions
          • - Plane Constraint settings
          • - Register features times out with error
          • - Saving connection parameters to settings file
          • - SQL Server Features Not Displaying in Bentley Map
          • - Supported OGC geometry types
          • - Using joins to create custom searches
          • - WFS graphical source connection and feature registration
          • - Connecting to ArcGIS Server
        • +Spatial Analysis
        • +3D Geospatial
        • +Geographic Coordinate Systems
        • +Troubleshooting
        • +Freeware - Utilities - Applications - Programs
        • +Advanced Map Finishing
      • OpenCities Map Ultimate for Finland CONNECT Edition x64 (SES)
      • OpenCities Map Ultimate for Finland CONNECT Edition - Suomi
      • Bentley Descartes
      • +Other Geospatial Products

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

    - Saving connection parameters to settings file

    OpenCities Map provides two means to connect to a spatial database:

    1. Through a named graphical source which is defined in the Geospatial Administrator.  A named connection typically defines all aspects of working with features including placing and editing.  It will also include placement rules, property-based annotation, property-based symbology definitions and more.
    2. Through an ad hoc connection established via the New Connection tool in the Map Connections dialog. An ad hoc connection is a direct connection to the spatial database and does not include any customizations for feature placement and editing.  Ad hoc connections also do not include pre-defined symbology.

    When defining an ad hoc connection to any of the supported spatial databases, it can take quite some time for the connection to be established.  This can be due to a number of factors including:

    • Location of the server
    • Network speed
    • Number of spatial features needing to be discovered by the connection process

    Let's take a brief look at how your productivity with ad hoc connections can be improved.

    Create a new ad hoc connection and wait for the New Connection Parameters to be populated with features.  In some situations, you may be inclined to unselect all features (and there may be hundreds of them) and only leave one or two features ticked.  

    Clicking Connect will add the selected features to the current session and load the features to the Map Connections dialog. 

    At this point the selected features are ready to be queried, locked, modified and posted.  However, in the event that you need to access different features from the same connection, you'll need to:

    - Remove the existing connection

    - Establish a new ad hoc connection - and wait for the discovery of perhaps hundreds of features.

    - Unselect those  features not needed.

    - Connect.

    - Query, lock, modify and post as needed.

    To simplify this process, it's recommended to establish the connection with all features available.  Once the connection is made, simply choose Save Connection from the Connection Tools icon bar, set the Spatial Extent as needed, and enter a data point to accept the spatial area options.

    The Save As dialog will open where you can enter a name of your choice.

    The next time you need an ad hoc connection to that specific server and features, simply open the previously saved settings file.  Like the Save tool, the Open tool is found in the Connection Tools icon bar.  In this case there is no waiting for the features to be discovered and the connection is established almost immediately.  For those who are working with hundreds of features, this could certainly be a time saver. 

    To query specific features, simply select Query from their right click menu.  Only those selected features will be queried.

    • Share
    • History
    • More
    • Cancel
    • Inga Morozoff Created by Bentley Colleague Inga Morozoff
    • When: Mon, Nov 18 2019 1:36 PM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Mar 9 2020 2:48 PM
    • Revisions: 3
    • 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