Skip to content

DataSetup

Deelesh Mandloi edited this page Jun 6, 2017 · 2 revisions

Data Setup

In this topic

In order to publish routing services, you need to copy your own network dataset or the StreetMap Premium (SMP) network dataset on your publisher as well as server machines and install the appropriate license (when working with SMP network dataset) before starting the publish process. The following provides a guideline on how this can be done. The data paths can be of your choice.

Data Setup on GIS Server

On one or more machines that are participating in your ArcGIS Server site,

  • Create a folder to store street data. For example, D:\RoutingServices\StreetData on Windows or /data/routing-services/street-data on Linux. We will subsequently refer to this folder as STREET_DATA in this document.

  • If you are working with a network dataset created from your own street data, copy the file geodatabase containing the network dataset to the STREET_DATA folder.

If you are working with SMP data, perform the following steps:

  • From your SMP DVD, copy the file geodatabase (such as NorthAmerica.gdb) containing the network dataset to the STREET_DATA folder. The file geodatabase can be usually found in FGDB\StreetMap_Data folder on the SMP DVD. If you use the SMP data for other purposes such as for geocoding, you can copy the entire contents of the SMP DVD.

  • Copy the license file (file with sdlic file extension) to the SMP_DATA folder.

  • Install a license for the SMP data using the following commands

  • If you are using ArcGIS for Server Windows

    • Start a windows command prompt

    • Navigate to the bin folder within the ArcGIS Server installation directory using the cd command. For example,

        cd "C:\Program Files\ArcGIS\Server\bin"
      
    • Run the DataLicInstall utility providing it the path of SMP license file. For example,

        DataLicInstall.exe D:\RoutingServices\StreetData\mylicense.sdlic
      
  • If you are using ArcGIS for Server Linux

    • Start a terminal window as a user who owns ArcGIS Server installation

    • Navigate to the tools folder within the ArcGIS Server installation directory using the cd command. For example,

        cd /arcgis/server/tools
      
    • Run the datalicinstall utility providing it the path of SMP license file. For example,

        ./datalicinstall /data/routing-services/street-data/mylicense.sdlic
      
    • Restart ArcGIS Server. This is required for ArcGIS Server to correctly read the SMP license file. For example,

        /arcgis/server/stopserver.sh
        /arcgis/server/startserver.sh
      

SMP data license has to be installed on each machine that participates in your ArcGIS Server site before publishing the routing services even if the data is shared across machines from a network share.

If your ArcGIS Server site contains more than one machine, it is possible to store the network dataset on a file share that is accessible to all the machines. However for optimal performance, it is recommended that the file geodatabase containing the network dataset is copied locally to each machine that participates in your ArcGIS Server site.

Data Setup on ArcGIS Desktop

On the machine running ArcGIS Desktop software i.e. the publisher machine

If ArcGIS Desktop and ArcGIS Server are running on the same machine and you have already copied and licensed the data on the machine, you can skip the following steps.

  • Create a folder to store Street data. For example, D:\RoutingServices\StreetData.

  • If you are working with a network dataset created from your own street data, copy the file geodatabase containing the network dataset to the STREET_DATA folder.

If you are working with SMP data, perform the following steps:

  • From your SMP DVD, copy the file geodatabase (such as NorthAmerica.gdb) containing the network dataset to the SMP_DATA folder. The file geodatabase can be usually found in FGDB\StreetMap_Data folder on the SMP DVD. If you use the SMP data for other purposes such as for geocoding, you can copy the entire contents of the SMP DVD.

  • Copy the license file (file with sdlic file extension) to the SMP_DATA folder.

  • From windows explorer, double-click the .sdlic license file. This will install the SMP data license using ArcGIS Administrator application.

You can now publish the routing services to your ArcGIS for Server site.