Adding DGN and DWG data: Deployment guide
This deployment guide shows you how to add DGN and DWG data visualization capability to the Roadway Characteristics Editor.
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.
- Start ArcCatalog and double-click the Convert CAD to Feature Dataset tool under RoadwayCharacteristics → Tools → Roads And Highways Server Tools.
- Select an input DGN file.
This DGN file should already exist in your data directory.
- Select an input PRJ file.
This DGN file should already exist in your data directory.
- Click OK again.
The Convert CAD to Feature Dataset tool runs.
- Click Close after the tool runs successfully.
- Start ArcMap and on the Geoprocessing menu, click Results.
The Results window appears in ArcMap.
- In the Results window, right-click the Current Session node, then click Share As → Geoprocessing Service.
The Share as Service dialog box appears.
- Click the Publish a service option.
- Click Next.
- In the Service name text box, type ConvertCADToFeatureDataset.
- Click Next.
- Either use an existing folder or create a new folder for housing the published service.
- Click Continue.
The Service Editor window appears.
- Click the Geoprocessing tab and make sure that the Uploads check box is checked.
- Click the Parameters tab and check the View results with a map service check box.
- 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)
Limiting the upload file size
Use the following steps to limit the size of the DGN file.
- Browse to your \\<RoadwayCharacteristics> \ folder and open the Config.json file in a text editor such as Notepad.
- Search for the text maxUploadBytes and provide the value max file size in bytes (10485760 in this case).
The file size limit will be shown as megabytes (MB) to users in the Add DGN Data dialog box.
Deployment for Windows Server
Converting the Roadway Characteristics Editor folder to an application
Use the following steps when deploying Roadway Characteristics Editor on Windows Server 2012 (IIS 8).
- Go to the Internet Information Services (IIS) Manager by clicking Control Panel → System and Security → Administrative Tools → Internet Information Services (IIS) Manager.
- Expand the Server node and click Sites → Default Website.
- Right-click the RoadwayCharacteristics folder and click Convert to Application.
- In the Add Application dialog box, click Select.
- Choose the application pool that uses .NET Framework 2.0 with integrated pipeline mode.
Creating an application pool for .NET 2.0
Use the following steps to create an application pool for .NET 2.0 with Integrated mode if the application pool is not available.
- Go to the Internet Information Services (IIS) Manager by clicking Control Panel → System and Security → Administrative Tools → Internet Information Services (IIS) Manager.
- Expand the Server node.
- Right-click the Server node and click Application Pools → Add Application Pool.
- In the Application Pools dialog box, set the following:
- Name: .NET 2.0
- .NET Framework version: .NET Framework v2.0.50727
- Managed pipeline mode: Integrated
- Start application pool immediately: Checked