IBM Support

Running a bulk load of traffic data

Question & Answer


Question

Running a bulk load of traffic data

Answer


IBM brand Intelligent Transportation IBM Traffic Information Hub Version 1.0.1

Running a bulk load of traffic data

After deploying the IBM? Traffic Information Hub you can importexisting traffic data into the system. Bulk loading is the importationof TMDD traffic data from an owner center. This is different thanthe typical TMDD data feed used to provide data to the IBM Traffic Information Hub at specific intervals.Bulk loading is normally done when the IBM Traffic Information Hub is first installed.The traffic data can be analyzed from the Operator: Traffic and Planner: Traffic views.

Before you begin

All services and components on the IBM Intelligent Operations Center application and integration server mustbe up and running before you start the bulk loading of traffic data.Specifically the trans_tmddecserver_ear servicewhich provides the IBM Traffic Information Hub TMDDExternal Center.

To run the bulk load command you will needthe following information:
  • URL to the External Center. For example http://ecHostName:portNo/trans_tmddecserver_ear/tmddECSoapHttpService
  • Obfuscation key if one has been configured.
  • Raw TMDD data files.
Note: Each file should contain a single TMDD inventory dataor status message. A single message may contain a number of data points.

About this task

Use the bulkLoad.sh command to executethe bulk loading of traffic data. The bulk load command will packagethe message as a request to the TMDD External Center server.

Procedure
  1. Log on to the IBM Intelligent Operations Center application and integration server asthe root user.
  2. Open the following directory containing the TMDD shellscripts:
    /opt/IBM/iss/intelligentTransportation/trafficInformationHub/scripts
  3. Enter the following bulk load command:
    sh bulkLoad.sh -o obfuscationValue -e tmddECServerURL tmddFilename 
    Where:
    • obfuscationValue is optional and is the valuespecified in the ec.obfuscation-arg propertyin the ecserver.properties file.
    • tmddECServerURL is the URL for the ExternalCenter.
    • tmddFilename is the name of the raw TMDD file.Multiple TMDD files should be separated by a space character.
    An example bulk load command with an obfuscationkey set:
    sh bulkLoad.sh -o 6hvF775ljor -e http://localhost:9081/trans_tmddecserver_ear/tmddECSoapHttpService link.xml linkstatus.xml 
    An examplebulk load command without an obfuscation key:
    sh bulkLoad.sh -e http://localhost:9081/trans_tmddecserver_ear/tmddECSoapHttpService link.xml linkstatus.xml

Results

After the tool has completed you should see a messageconfirming that the request was completed successfully.


Library | Support | Terms of use

(c) Copyright IBM Corporation 2011 2012. All rights reserved.
U.S. Government Users Restricted Rights - Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSMGP8","label":"Smarter Cities"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10757211