You must be a Spectrum Technology Platform administrator (admin) to perform this task.
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 with configurations that you can alter. 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 theSPD
and store information about it. The folder defaults to <SpectrumLocation>/server/app/dataimport. Once Spectrum finishes extracting, it deletes theSPD
file to save space, so keep a copy of the download file somewhere else.To change the dataimport location, edit the <SpectrumLocation>/server/app/conf/dataimportdirectories.properties file. Since this is a temporary location used for extracting, the only reason to change it would be a concern about temporary disk space usage.
-
The second location is the permanent home of the data and it's called the “data storage” folder. It defaults to <SpectrumLocation>/server/app/repository/datastorage/. This location must be large enough to hold all the routing, geocoding, or other modules you use. This has SPD formatted data which for many countries is quite large. It needs to be on a disk that's 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\. It's possible that this location is already modified for geocoding or address data.
-
The third location is the archive location. This can't change, but the default setting turns archiving off. When turned on, the
SPD
file isn't deleted after extraction and it moves to the <SpectrumLocation>/server/app/repository/dataimport/archive folder.To turn on archiving, change the archiving property from false to true in the spectrum.data.manager.archive.data section of the <SpectrumLocation>/server/app/conf/spectrum-container.properties file.