Show / Hide Table of Contents

Class Pathway

Represents a transit agency.

Inheritance
System.Object
GTFSEntity
Pathway
Inherited Members
GTFSEntity.Tag
GTFSEntity.EntityChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Pathway : GTFSEntity

Properties

FromStopId

Location at which the pathway begins. It contains a stop_id that identifies a platform, entrance/exit, generic node or boarding area from the stops.txt file.

Declaration
public string FromStopId { get; set; }
Property Value
System.String

Id

The pathway_id field contains an ID that uniquely identifies the pathway. The pathway_id is used by systems as an internal identifier of this record (e.g., primary key in database), and therefore the pathway_id must be dataset unique.

Declaration
public string Id { get; set; }
Property Value
System.String

IsBidirectional

Indicates in which direction the pathway can be used:

Declaration
public IsBidirectional IsBidirectional { get; set; }
Property Value
IsBidirectional

Length

Horizontal length in meters of the pathway from the origin location (defined in from_stop_id) to the destination location (defined in to_stop_id)

Declaration
public double ? Length { get; set; }
Property Value
System.Nullable<System.Double>

MaxSlope

Maximum slope ratio of the pathway.

Declaration
public double ? MaxSlope { get; set; }
Property Value
System.Nullable<System.Double>

MinWidth

Minimum width of the pathway in meters.

Declaration
public double ? MinWidth { get; set; }
Property Value
System.Nullable<System.Double>

PathwayMode

Type of pathway between the specified (from_stop_id, to_stop_id) pair.

Declaration
public PathwayMode PathwayMode { get; set; }
Property Value
PathwayMode

ReversedSignpostedAs

Same than the signposted_as field, but when the pathways is used backward

Declaration
public string ReversedSignpostedAs { get; set; }
Property Value
System.String

SignpostedAs

String of text from physical signage visible to transit riders.

Declaration
public string SignpostedAs { get; set; }
Property Value
System.String

StairCount

Number of stairs of the pathway.

Declaration
public int ? StairCount { get; set; }
Property Value
System.Nullable<System.Int32>

ToStopId

Location at which the pathway ends. It contains a stop_id that identifies a platform, entrance/exit, generic node or boarding area from the stops.txt file.

Declaration
public string ToStopId { get; set; }
Property Value
System.String

TraversalTime

Average time in seconds needed to walk through the pathway from the origin location (defined in from_stop_id) to the destination location (defined in to_stop_id).

Declaration
public int ? TraversalTime { get; set; }
Property Value
System.Nullable<System.Int32>

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
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function.

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

ToString()

Returns a description of this agency.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()
Back to top Built by Itinero, MIT licensed.