Street

data class Street(    val id: Int,     val pathId: Int,     val startOffset: Distance,     val endOffset: Distance,     val cityDistrict: String,     val cityBlock: String,     val streetName: String,     val roadNumbers: List<String>) : HorizonElement

Describes a street.

Constructors

Link copied to clipboard
fun Street(    id: Int,     pathId: Int,     startOffset: Distance,     endOffset: Distance,     cityDistrict: String,     cityBlock: String,     streetName: String,     roadNumbers: List<String>)

Creates a Street horizon element.

Properties

Link copied to clipboard
val cityBlock: String

City block. Empty string if no city block is assigned to the part of the path.

Link copied to clipboard
val cityDistrict: String

City district. Empty string if no city district is assigned to the part of the path.

Link copied to clipboard
open override val endOffset: Distance
Link copied to clipboard
open override val id: Int

Identifier of this element.

Link copied to clipboard
open override val pathId: Int

Identifier of the path this element belongs to.

Link copied to clipboard
val roadNumbers: List<String>

Road numbers ordered by priority, from the highest to the lowest. Empty list if no road numbers are assigned to the part of the path.

Link copied to clipboard
open override val startOffset: Distance

Start offset on the path.

Link copied to clipboard
val streetName: String

Street name. Empty string if no street is assigned to the part of the path.