Guides
Guides

Sample Traffic Analytics speed data query and results

This tutorial is an example of a Traffic Analytics query and its results. You can click the "?" next to some of the options for more information.

Sign in to Traffic Analytics

To use the Traffic Analytics website, enter this URL https://trafficanalytics.here.com into your web browser and sign in to your account. Your HERE account email must be the same email address you supplied when you licensed Traffic Analytics. This is also the email address where you receive notifications that your data is ready.

Create your query

To create your Traffic Analytics query, follow these steps:

  1. Click the New Query icon.
  2. Enter the location where you want Traffic Analytics. For example, Yorkville, Kendall, Illinois, United States. A map of your location displays.
  3. Enter the date range for the Traffic Analytics. For example, 2022-08-01 to 2022-08-01 or one day.
  4. From the drop down options, select Road Names. For example, US-34 in the Road Name field.
  5. Select the day or days of the week, for example Monday.
  6. Select the time of day for your Traffic Analytics (you can select multiple times of day). For example, 24 Hours.
  7. Select the Output Fields you want to see. For example:
    • Average Speed
    • Confidence
    • Minimum and Maximum Speeds
    • Standard Deviation of Speeds
    • Length
    • Free Flow Speed
    • Speed Limit
    • Sample Count
  8. Select your Resolution. For example, 60 minutes.
  9. Select Referencing for your output. For example, TMC Referenced.
  10. Select Source Data. For example, Probe Data per Probe, and Path Data.
  11. Select whether you want to fill gaps. For example, leave this unchecked, with no gap filling.
  12. Select the Vehicle Type. For example, Passenger + Truck.
  13. Select speed percentiles. For example, Custom.
  14. Check the boxes of the Speed Percentiles you want to see in your result. For example, 25%, 50%, and 75%.
  15. Click the Submit button to request your Traffic Analytics file.

CSV results

Once you have submitted your Traffic Analytics query, wait for an email with links to your CSV and metadata results. Download your CSV results and open them in Excel. You should see something similar to the following results: Query results Download your metadata results and open them in a text editor. The format of this file may change over time without notice, as options and features change. You should see similar results to the following sample file:

requestId= 123456
userEmail= <YOUR EMAIL ADDRESS>
requestType= PROBE_PATH
Vehicle Type= ALL
beginDate= 20220801
endDate= 20220801
daysOfWeek= [MONDAY]
TimeIntervals= [0000-2359]
inputType= TMC
inputSource= s3://traffic-analytics-pr/2021Q1/queryOutput/1759/20220803-448362/input/HERE_DA_448362.txt
outputType= TMC
outputFilePath= s3://traffic-analytics-pr/2021Q1/queryOutput/1759/20220803-448362/output/
functionalClass= 12345
percentiles= [25, 50, 75]
epochType= 60
reportFields= [LOCATION_REF, DATE, EPOCH, LENGTH, FREEFLOW, SPDLIMIT, COUNT, MEAN, STDDEV, MIN, MAX, CONFIDENCE, PERCENTILES]
outputSize= 1.9 KB
queryTime= Wed, 2022/08/03 17:03:46 UTC
recordCount= 96
total TMC Count=4
totalOutputFiles=1
mapVersion=201H0
ParameterDescription
requestIdsAn automatically generated number assigned to your query request.
userEmailThe email which receives your query results.
requestTypePROBE=probe data only; PATH=path data only; PROBE_PATH=probe and path;AGGREGATED_PROBE, AGGREGATED_PATH.
Vehicle TypeALL=passenger vehicles and trucks; PASSENGER=passenger only; TRUCKS=trucks only.
beginDateStart date of your query.
endDateEnd date of your query.
daysOfWeekSUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, and/or SATURDAY.
TimeIntervalsThe times you selected; 24 hours=0000-2359.
inputTypeTMC CODES, ROAD NAME, PVIDs, FUNCTIONAL CLASSES.
inputSourceAutomatically generated description of query. (For HERE internal use only.)
outputTypeThe referencing type returned with your query results.
outputFilePathAutomatically generated file path for your output. (For HERE internal use only.)
functionalClassFunctional classes: 1-5.
percentilesThe speed percentiles selected in your query.
epochTypeThe resolution selected in your query.
reportFieldsThe output fields selected in your query.
outputSizeThe size of your query result.
queryTimeThe time you submitted your query.
recordCountThe number of records in your query results.
total TMC CountThe number of TMC results in your query results.
totalOutputFilesThe number of output files for your query results.
mapVersionThe version of the HERE Map used to generate your query results.