GetRoadwayScenarioData
Calculate and retrieve coordinate-labelled roadway grid values.
Undo support: No. Does not depend on the calculator page or its last results.
Syntax
GetRoadwayScenarioData <scenarioId> <intensityModelId> <elementNumber> <metric> [mode [flux]]
Element and observer numbers are one-based. The optional mode and flux use the CalculateRoadwayScenario contract; omitted mode means LUMINAIREFLUX.
| Metric | Quantity | Unit |
|---|---|---|
| EH | Horizontal illuminance | lx |
| EVN, EVW, EVS, EVE | Vertical illuminance, north/west/south/east | lx |
| L1, L2, ... | Luminance for the indicated observer | cd/m2 |
| TI | Threshold increment | % |
Only metrics available for the selected element are returned. L1 on a pedestrian element, an invalid observer, or a nonexistent element returns a meaningful error.
GetRoadwayScenarioData 2 12 1 L1 MINIMUMFLUX
GetRoadwayScenarioData 2 12 2 EH
Response
Returns scenarioId, modelId, mode, effectiveFlux, orientation,
elementNumber, metric, unit, coordinateUnit:"m", and points.
Each point contains x, y, z and value. Luminance and TI points also
identify their one-based observer when available. Records retain distinct points,
even when their planar coordinates coincide. Non-finite values are null with
an explanatory unavailableReason.
These are the same samples used by the rendered roadway view. The command recalculates a private snapshot every time; selecting a UI flux mode does not implicitly change an API query.