Installing SPD-based Routing Data

This section talks about installation process of SPD-based routing data.

Downloading files

You can download the bundled .zip files from the e-store as usual.

Installing SPD-based Routing Data

Steps to deploy data depend on the version of Spectrum™ Technology Platform in use. However, in all cases, the first step is to extract the .zip file. This is same as was with the older routing data. For example, America bundle 1 data (A1B), contains following four .spd files:

  • CA_Driving.spd
  • CA_Pedestrian.spd
  • US_Driving.spd (having driving data for all regions in USA)
  • US_Pedestrian.spd (having pedestrian data for all regions in USA)

Installing data by manually extracting SPD file

Note:

This method is applicable for Spectrum™ Technology Platform version 11 and older and is recommended for existing users or those not willing to modify server configurations and control the runtime location of their data.

  • Choose the country specific SPD file of choice, that means driving or pedestrian and extract to the desired location. You can use any tool to unzip the files. If required by that tool, the SPD file can be renamed to .zip.
  • Ensure that the destination folder is the location where you want to use and manage the data. This is same as choosing the location from the earlier dbloader tool.

Installing data using data import auto-extract feature

  • Installing routing data using data import takes advantage of a Spectrum™ Technology Platform feature that auto-extracts the data from the SPD file and places it in a standard but configurable location on your system. Once configured, you just need to copy the SPD file to the “dataimport” folder.
  • There are three locations to be aware of and there are configurations related to them that can be altered from the default.
  • The defaults are all under the installed <SpectrumLocation>. You can choose a different location to keep your data. If you have to uninstall the software, the data gets removed when using the defaults.
    • The first location is the “dataimport” folder. If you put an SPD file in that location, Spectrum will extract the contents of the SPD and store information about it. The folder defaults to <SpectrumLocation>/server/app/dataimport. Also by default, once Spectrum is finished extracting, it deletes the SPD file to save space. Ensure to keep a copy of the download file somewhere else. The dataimport location can be altered by editing the <SpectrumLocation>/server/app/conf/dataimportdirectories.properties file. Since this is a temporary location used for extracting, the only reason for changing can be a concern about temporary disk space usage.
    • The second location is the permanent home of the data and is called the “data storage” folder. It defaults to <SpectrumLocation>/server/app/repository/datastorage/. This location is large enough to hold all the routing, geocoding, or other modules you use. This contains SPD formatted data which for many countries is quite large. It needs to be on a disk that is optimal for the purpose. To configure it to a location other than the default, you need to alter the spectrum.data.manager.storage.directory property in the Data Manager section of the <SpectrumLocation>/server/app/conf/spectrum-container.properties file. For Windows users note that the path separator used has to be a “forward” slash. For example, E:/SpectrumData/ and not E:\SpectrumData\. This is possible that this location is already modified for geocoding or address data.
    • The last location is the archive location. It cannot be changed but by default, archiving is turned off. When turned on, the SPD file is not deleted after extraction and is moved to <SpectrumLocation>/server/app/repository/dataimport/archive folder. Turning on archiving is enabled by changing the property from “false” to “true” in the spectrum.data.manager.archive.data section of the spectrum-container.properties file right under the location.