- You can now run Network Performance and Network Origin-Destination analyses using the StreetLight InSight® API.
- To set up these analysis types, you must specify zones using the
osm_ids
parameter in Create a zone set, and select theAll_Vehicles_AGPS
travel mode for your analysis. - For more information, see Setting up Nework Performance analyses and Setting up Nework Origin-Destination analyses.
- To set up these analysis types, you must specify zones using the
- You can use OpenStreetMap (OSM) segment IDs to specify line segment zones in the Create a zone set endpoint with the new
osm_ids
parameter. The new Search OSM IDs endpoint lets you get OSM IDs for a geometry that you specify. For more information, see Defining Zones > Specifying Zones with OSM IDs.
New data source for U.S. geographies: Connected Vehicle Data (CVD). This allows you to analyze 2022 data months, as well as attributes that describe vehicles in the sample. To use this new data source, set the new source
parameter in your Metrics request to cvd_plus
.
The new
source
parameter defaults tolbs_plus
, which was previously the only data source. You only need to specify thesource
parameter if you want to analyze the data months or metrics above; you do not need to edit your existing requests unless you want to use the new CVD data source.
To check the latest data months available for the CVD data source, see Date Ranges.
You can query new fleet attribute metrics when using the CVD data source. For more information, see Available Metrics: Vehicle Attributes.
- The new Edit an analysis endpoint lets you edit the name and description of an existing analysis.
- The new Cancel an analysis endpoint lets you cancel an analysis that is running or queued to run.
- The Delete an analysis endpoint lets you delete an existing analysis.
- You can analyze month over month or year over year time trends in one API call by setting multiple
date_range
parameters when requesting metrics and comparing data between data periods. For more information, see Analyzing Time Trends - The
nearest
geometry type allows you to query the segments nearest to a supplied point.
- Vehicle data for U.S. geographies for months in 2019 is now available from the
metrics
endpoint. To check available data months, use the Check available data periods endpoint.
- The new Download shapefile endpoints let you download a shapefile of the zones used in an analysis you have run.
- The new Get zones endpoint lets you query information from zones or zone sets that have been created from the API or StreetLight InSight® web app.
- Each API key can have up to 250 analyses running and waiting to run at a time.
- The new
in_queue
parameter in the Search analyses endpoint lets you search analyses that are currently in the analyses queue.
The geom_mode
property is available for endpoints where you define a geography. You can set geom_mode
to determine whether your query includes only segments within your defined area, or segments within and intersecting with your defined area.
The StreetLight InSight® API documentation is now available in the StreetLight Developer Hub.
The StreetLight Advanced Traffic Counts API is available as a Beta release. For access, contact your StreetLight representative.
- You can now set the
travel_mode_type
parameter toAll_Vehicles_CVD_Plus
. TheAll_Vehicles
travel mode is nowAll_Vehicles_LBS_Plus
. - For some analysis types, the data period of the analysis is now returned as a column in the metrics of the analysis.