You can bring features from an Oracle data source into your map, creating a
feature layer
in Display Manager.
To bring in features from Oracle
- Make sure that your feature source is set up correctly.
- In
Display Manager
, click DataConnect To Data.
- In the Data Connect window, select Add Oracle Connection in the Data Connections By Provider list.
- In the Feature Source Connection dialog box, under Connection Name, type a name for this connection.
- Under Service Name, enter the service name for the Oracle data store. If you do not know this name, check with your System Administrator.
- Click Login.
- In the User Credentials dialog box, enter your Oracle user name and password. If your organization uses Windows authentication to log in to Oracle, select Use Windows Authentication.
Optionally, select Remember Password if you want AutoCAD Map 3D to log you in whenever you open this drawing.
- Under Data Store, enter the data store name. If you do not know this name, check with your System Administrator.
To select from a list of data stores, click the down arrow.
Note: If the data store is not in the list, it may not use a AutoCAD Map 3D schema. Select Show All Data Stores to add these to the list. AutoCAD Map 3D creates a mapping to use these data stores with AutoCAD Map 3D.
- Optionally, select a version of the data store.
- Click Connect.
- In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class is selected automatically. If it contains multiple feature classes, you can do either of the following:
- Right-click the schema entry and select Select All or Select None.
- Expand the schema entry and select the feature classes to add.
If a feature class contains multiple geometry types,and you select the feature class itself, all geometries are added. To add a subset of geometries, hold your cursor over the feature class name to see the Show Geometry button. Click Show Geometry to see each geometry as a separate choice. Select the ones you want. Each selected geometry is added to map as a separate Display Manager layer.
- Verify that the coordinate systems are correct. You can change an incorrect coordinate system if necessary.
- Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To Map With Query, where the properties for all geometries appear. To filter data after you’ve added the data to your map, see To Filter Feature Layers.
To use AutoCAD Map 3D 2017 to access FDO data stores that were created in AutoCAD Map 3D 2007 and earlier
- Verify that you have the privileges required to execute the ALTER TABLE request.
- In the command line, enter the following:
sqlplus <datastorename>/<yourpassword>@<tnsServiceName>
@<MapInstallDir>/Fdo/bin/com/AlterSchemaOracle.sql;
exit;