ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Adding DGN and DWG data: Deployment guide

  • Limiting the upload file size
  • Deployment for Windows Server

This deployment guide shows you how to add DGN and DWG data visualization capability to the Roadway Characteristics Editor (RCE).

Note:

You will need one DGN or DWG file and one PRJ file with the same name to accomplish this task. The deployment is shown with a DGN file as an example.

  1. Start ArcCatalog.
  2. Double-click the Convert CAD to Feature Dataset tool under RoadwayCharacteristics > Tools > Roads And Highways Server Tools.

    Convert CAD to Feature Dataset script

  3. Select an input DGN file.

    Providing inputs to the Convert CAD to Feature Dataset tool

    This DGN file should already exist in your data directory.

  4. Select an input PRJ file.

    This DGN file should already exist in your data directory.

  5. Click OK again.

    The Convert CAD to Feature Dataset tool runs.

  6. Click Close after the tool runs successfully.
  7. Start ArcMap.
  8. On the Geoprocessing menu, click Results.

    Adding the Results window to ArcMap

    The Results window appears in ArcMap.

  9. In the Results window, right-click the Current Session node, then click Share As > Geoprocessing Service.
    Sharing the tool as a geoprocessing service

    The Share as Service dialog box appears.

    Share as Service dialog box

  10. Click the Publish a service option.
  11. Click Next.
  12. In the Service name text box, type ConvertCADToFeatureDataset.
    Providing the service's name
  13. Click Next.
  14. Either use an existing folder or create a new folder for housing the published service.
    Selecting the location of the service
  15. Click Continue.

    The Service Editor window appears.

    The Service Editor Window

  16. Click the Geoprocessing tab and make sure that the Uploads check box is checked.
    The Geoprocessing tab
  17. Click the Parameters tab and check the View results with a map service check box.
    The Parameters tab
  18. Click Publish.

    Two services are created as a result. You can access them in ArcCatalog. The DGN visualization capability is now enabled in the Roadway Characteristics Editor.

    • ConvertCADToFeatureDataset (GPServer)
    • ConvertCADToFeatureDataset (MapServer)

    The published services

Limiting the upload file size

Use the following steps to limit the size of the DGN file.

  1. Browse to your \\<RoadwayCharacteristics> \ folder and open the Config.json file in a text editor such as Notepad.
  2. Search for the text maxUploadBytes and provide the value max file size in bytes (10485760 in this case).
    Searching text in config.json file

    The file size limit will be shown as megabytes (MB) to users in the Add DGN Data dialog box.

    Showing file size limit in the Add DGN Data dialog box

Deployment for Windows Server

Converting the Roadway Characteristics Editor folder to an application in RCE

Use the following steps when deploying RCE on Windows Server 2012 (IIS 8).

  1. Go to the Internet Information Services (IIS) Manager by clicking Control Panel > System and Security > Administrative Tools > Internet Information Services (IIS) Manager.
  2. Expand the Server node and click Sites > Default Website.
  3. Right-click the RoadwayCharacteristics folder and click Convert to Application.
  4. In the Add Application dialog box, click Select.
  5. Choose the application pool that uses .NET Framework 2.0 with integrated pipeline mode.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal