Class Shape
Represents rules for drawing lines on a map to represent a transit organization's routes.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Shape : GTFSEntity
Properties
DistanceTravelled
Gets or sets the distance traveled along a shape from the first shape point.
Declaration
public double ? DistanceTravelled { get; set; }
Property Value
System.Nullable<System.Double>
|
Id
Gets or sets an ID that uniquely identifies a shape.
Declaration
public string Id { get; set; }
Property Value
System.String
|
Latitude
Gets or sets a shape point's latitude with a shape ID. The field value must be a valid WGS 84 latitude. Each row in shapes.txt represents a shape point in your shape definition.
Declaration
public double Latitude { get; set; }
Property Value
System.Double
|
Longitude
Gets or sets a shape point's longitude with a shape ID. The field value must be a valid WGS 84 longitude value from -180 to 180. Each row in shapes.txt represents a shape point in your shape definition.
Declaration
public double Longitude { get; set; }
Property Value
System.Double
|
Sequence
Gets or sets the sequence order along the shape. The values for shape_pt_sequence must be non-negative integers, and they must increase along the trip.
Declaration
public uint Sequence { get; set; }
Property Value
System.UInt32
|
Methods
Equals(Object)
Returns true if the given object contains the same data.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Serves as a hash function.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Returns a description of this shapepoint.
Declaration
public override string ToString()
Returns
System.String
|