TrafficEnforcementZone

data class TrafficEnforcementZone(val id: SafetyLocationId, val time: Date, val openLocationReference: String, val speedLimit: Speed?, val positions: List<GeoLocation>, val type: TrafficEnforcementZoneType) : SafetyLocation

Describes a traffic enforcement zone.

Parameters

positions

List of locations at which the zone is reported, typically the entry points to the zone.

type

Describes the specific purpose of a traffic enforcement zone.

Constructors

Link copied to clipboard
constructor(id: SafetyLocationId, time: Date, openLocationReference: String, speedLimit: Speed?, positions: List<GeoLocation>, type: TrafficEnforcementZoneType)

Properties

Link copied to clipboard
open override val id: SafetyLocationId

Identifies a safety location.

Link copied to clipboard
open override val openLocationReference: String

Location reference in the OpenLR format, base64 encoded.

Link copied to clipboard
Link copied to clipboard
open override val speedLimit: Speed?

Defines the speed limit for the safety cameras of relevant type.

Link copied to clipboard
open override val time: Date

Timestamp of when the occurrence happened, following the RFC 3339 standard.

Link copied to clipboard