-
Notifications
You must be signed in to change notification settings - Fork 7
DataSetup
#Data Setup
In order to publish routing services, you need to copy the StreetMap Premium (SMP) network dataset on your publisher as well as server machines and install the appropriate license 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 ArcGIS for Server site,
-
Create a folder to store ESMP data. For example,
D:\RoutingServices\ESMPDataon Windows or/data/routing-services/esmp-dataon Linux. We will refer to this folder asSMP_DATA. -
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 inFGDB\StreetMap_Datafolder 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
sdlicfile 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
binfolder within the ArcGIS Server installation directory using thecdcommand. For example,cd "C:\Program Files\ArcGIS\Server\bin" -
Run the
DataLicInstallutility providing it the path of SMP license file. For example,DataLicInstall.exe D:\RoutingServices\ESMPData\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
toolsfolder within the ArcGIS Server installation directory using thecdcommand. For example,cd /arcgis/server/tools -
Run the
datalicinstallutility providing it the path of SMP license file. For example,./datalicinstall /data/routing-services/esmp-data/mylicense.sdlic -
Restart ArcGIS Server. This is required for ArcGIS Server to correctly read the SMP license file.
/arcgis/server/stopserver.sh /arcgis/server/startserver.sh
-
-
If your ArcGIS Server site contains more than one machine, it is possible to store the SMP data on a network share that is accessible to all the machines. However for optimal performance, it is recommended that the SMP data is copied locally to each machine that participates in your ArcGIS Server site.
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.
On the machine running ArcGIS for Desktop software i.e. the publisher machine
If ArcGIS for Desktop and ArcGIS for Server are running on the same machine and you have already copied and licensed the SMP data on the machine, you can skip the following steps.
-
Create a folder to store SMP data. For example,
D:\RoutingServices\ESMPData. -
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
sdlicfile 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.