Result

data class Result(    val roadTypeName: String?,     val tags: Map<String, String>,     val certitude: Certitude)

The result of looking for the speed limits via getSpeedLimits. It includes the road type name, the maxspeed tags that road type is assumed to have implicitly and a Certitude.

Constructors

Link copied to clipboard
fun Result(    roadTypeName: String?,     tags: Map<String, String>,     certitude: Certitude)

Properties

Link copied to clipboard
val certitude: Certitude
Link copied to clipboard
val roadTypeName: String?

The road type name as it appears in the default speed limits wiki page or null if it is the default (fallback) rule

Link copied to clipboard
val tags: Map<String, String>

The tags include only the tags that should be added to the tags specified in getSpeedLimits. In particular, if a maxspeed is already specified in the input tags, there will not be a maxspeed in these tags, the same with any subtags. Also, if the maximum speed is lower than a maximum speed for a vehicle type (or conditional speed), that speed is also left out.