Quantcast
Channel: OpenCities Map Wiki
Viewing all articles
Browse latest Browse all 1284

- Automatically connect to a graphical source

$
0
0
Current Revision posted to Bentley Map - Wiki by Inga Morozoff on 11/23/2017 9:34:18 PM

It is possible to set up Bentley Map so that every time a DGN is opened, a connection is established to a graphical source such as Oracle Spatial, SQL Server Spatial, OGC WFS, or Esri File Geodatabase

To do this, first define the named graphical source in your project schema. 

For example, the following illustrates a named connection to an Oracle database:

Then select the Macros node of the User Workspace, and add the following configuration variable:  MS_GEOINITCMD

Set the value of the variable to execute the following keyin:

GDI CONNECT GRAPHICALSOURCE  name=graphicalSourceName user=userName password=password

 

Save and export your changes.  The next time the workspace is run and a file is opened, a live connection to the graphical source will be automatically established.  This can be seen by navigating to the Connections tab of the Map Interoperability dialog as shown below.

 


Notes:

- Ensure there are no spaces before and after the = sign in the keyin.

- The user and password are visible to others.

- For SQL Server and Esri File Geodatabase, the user and password are not required.  Simply use:  GDI CONNECT GRAPHICALSOURCE

Tags: Oracle, Graphical Source, Spatial, Geospatial Administrator, Bentley Map, Database

Viewing all articles
Browse latest Browse all 1284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>