Direct access to simulated spatially enabled traffic grids of urban regions.


The geospatial urban API solves a common challenge for urban digital twins – obtaining insights into mobility behavior of citizens using simulated traffic scenarios. Traffic planners use powerful tools in shaping urban mobility sustainable. But without having access to citizen movement profiles there is always a need for simulating, analyzing, testing and mitigating traffic scenarios.

Traffic grid accumulating the speed of simulated agents moving using car vehicles through the city of Bonn between 07:00 and 08:00 AM

Developers get access to ready-to-use spatially enabled traffic grids. These traffic grids represent aggregated simulated movements of pedestrians, bikes and cars. Each grid has an accumulated variable like the number of agents, the average speed and the sum of carbon dioxide equivalent emissions (kg/km) of car vehicles. The traffic simulation calculates these variables for 24 hours and each generated grid has a temporal resolution of one hour.

/top

Returns the top most accumulated traffic grid cells for an urban region.

nametypedescriptionoptionsample
regionSTRINGThe simulations endpoint returns all available urban regions. You have to use the region code, e.g. DEA22 for the city of Bonn, Germany.requiredDEA22
dateDATE Represents the simulated date. The simulations endpoint list the available urban regions with their simulation dates. The date must be defined using ISO format, e.g. 2023-08-24.required2023-08-24
vehicleSTRINGCarBike and Pedestrian are possible vehicle types.requiredCar
gridSTRINGThe values agentspeed and emissions are supported grid types.
agent: The number of unique agents is calculated.
speed: The speed average of every agent is calculated.
emissions: The sum of carbon dioxide emissions of every agent is calculated. This makes only sense for vehicle being cars!
requiredagent
limitNUMBERThe maximum number of returned features.optional10
formatSTRINGThe values esri and geojson are supported output formats.optionalgeojson
Traffic grid accumulating cells having the largest number of agents moving using car vehicles through the city of Bonn

/aggregate

Returns a spatially enabled traffic grid representing aggregated simulated movements of pedestrians, bikes and cars.

nametypedescriptionoptionsample
regionSTRINGThe simulations endpoint returns all available urban regions. You have to use the region code, e.g. DEA22 for the city of Bonn, Germany.requiredDEA22
vehicleSTRINGCar, Bike and Pedestrian are possible vehicle types.requiredCar
gridSTRINGThe values agentspeed and emissions are supported grid types.
agent: The number of unique agents is calculated.
speed: The speed average of every agent is calculated.
emissions: The sum of carbon dioxide emissions of every agent is calculated. This makes only sense for vehicle being cars!
requiredagent
timeSTRING
Represents the simulated start time. The simulations endpoint list the available urban regions with their simulation dates. The time must be defined using the simulation date and the time being on the hour, e.g. 2023-08-24T07:00:00.
required2023-08-24T07:00:00
formatSTRINGThe values esri and geojson are supported output formats.optionalgeojson
Traffic grid accumulating the number of simulated agents moving using bikes through the city of Bonn between 07:00 and 08:00 AM

/query

Queries the simulated agent positions in space and time. Returns all positions within a certain radius of a given location and within a certain time frame.

nametypedescriptionoptionsample
datetimeSTRINGRepresents the simulated date and time. The query endpoint returns the simulated agents locations for this specific time. The value must be defined using ISO format.required2023-08-24T08:00:00
vehicleSTRINGCar, Bike and Pedestrian are possible vehicle types.requiredCar
latNUMBERThe latitude coordinate of the location.required50.746708
lonNUMBERThe longitude coordinate of the location.required7.074405
secondsNUMBERThe duration of the time frame defined in seconds. The maximum duration is 120 seconds.optional60
metersNUMBERThe planar distance/radius in meters defining the area of interest. The maximum distance is 1000 meters.optional500
formatSTRINGThe values esri and geojson are supported output formats.optionalgeojson
Simulated agent positions moving by car within a distance of 250 meters of a highway cross road intersection being located at (50.746708, 7.074405) in the city of Bonn starting at 08:00 AM and lasting 30 seconds.

/simulations

Returns all the available simulations using the urban region and the simulation date.

regionnamedate
DEA2DAachen, Stadtregion2023-12-10
DEA22Bonn, Kreisfreie Stadt2023-08-24
DE111Stuttgart, Landeshauptstadt2023-11-25

References:

[1] geourban API @RapidAPI
Direct access to simulated spatially enabled traffic grids of urban regions.