Shape

data class Shape(val shapeId: String, val shapePtLat: Double, val shapePtLon: Double, val shapePtSequence: Int, val shapeDistTraveled: Double? = null) : Comparable<Shape>

See https://developers.google.com/transit/gtfs/reference#shapestxt

Constructors

Link copied to clipboard
constructor(shapeId: String, shapePtLat: Double, shapePtLon: Double, shapePtSequence: Int, shapeDistTraveled: Double? = null)

Functions

Link copied to clipboard
open operator override fun compareTo(other: Shape): Int

Compares this shape to the other.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard