From 5f4bc2fcbf6d6a9bf9e6f48f8e3fa5b5828c6da7 Mon Sep 17 00:00:00 2001 From: Aaron Antrim Date: Sat, 24 Dec 2016 18:02:20 -0800 Subject: [PATCH 1/3] propose definition of stops.hidden --- gtfs/spec/en/reference.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtfs/spec/en/reference.md b/gtfs/spec/en/reference.md index a918c1188..bfd4505ca 100644 --- a/gtfs/spec/en/reference.md +++ b/gtfs/spec/en/reference.md @@ -122,6 +122,10 @@ File: **Required** | | | * **0** (or empty) - the station entrance will inherit its **wheelchair_boarding** value from the parent station, if specified in the parent | | | | | | * **1** - the station entrance is wheelchair accessible (e.g. an elevator is available to platforms if they are not at-grade) | | | | | | * **2** - there exists no accessible path from the entrance to station platforms | | | +| hidden | Optional | This field indicates if a stop, station, or other facility is relevant for display in passenger-facing applications. | | | +| | | * **0** or blank - passenger-relevant facility should be shown in maps and other applications. | | | +| | | * **1** - an internal-only location or facility such as timing point that does not allow passengers to board or alight. | | | + ### routes.txt From ff5ad2ee2627ed1736ed3c8115525cf83488468f Mon Sep 17 00:00:00 2001 From: Aaron Antrim Date: Wed, 4 Jan 2017 11:07:04 -0800 Subject: [PATCH 2/3] location_type = 4 ("non-passenger-relevant location") Replace stops.hidden field with new location_type = 4 --- gtfs/spec/en/reference.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gtfs/spec/en/reference.md b/gtfs/spec/en/reference.md index bfd4505ca..3b06cdc27 100644 --- a/gtfs/spec/en/reference.md +++ b/gtfs/spec/en/reference.md @@ -100,10 +100,12 @@ File: **Required** | stop_lon | **Required** | The **stop_lon** field contains the longitude of a stop, station, or station entrance. The field value must be a valid WGS 84 longitude value from -180 to 180. | | | | zone_id | Optional | The **zone_id** field defines the fare zone for a stop ID. Zone IDs are required if you want to provide fare information using [fare_rules.txt](#fare_rulestxt). If this stop ID represents a station, the zone ID is ignored. | | | | stop_url | Optional | The **stop_url** field contains the URL of a web page about a particular stop. This should be different from the agency_url and the route_url fields. The value must be a fully qualified URL that includes **http**:// or **https**://, and any special characters in the URL must be correctly escaped. See http://www.w3.org/Addressing/URL/4_URI_Recommentations.html for a description of how to create fully qualified URL values. | | | -| location_type | Optional | The **location_type** field identifies whether this stop ID represents a stop, station, or station entrance. If no location type is specified, or the location_type is blank, stop IDs are treated as stops. Stations may have different properties from stops when they are represented on a map or used in trip planning. The location type field can have the following values: | | | +| location_type | Optional | The **location_type** field identifies whether this stop ID represents a stop, station, station entrance, or internal timing point. If no location type is specified, or the location_type is blank, stop IDs are treated as stops. Stations may have different properties from stops when they are represented on a map or used in trip planning. The location type field can have the following values: | | | | | | * **0** or blank - Stop. A location where passengers board or disembark from a transit vehicle. | | | | | | * **1** - Station. A physical structure or area that contains one or more stop. | | | | | | * **2** - Station Entrance/Exit. A location where passengers can enter or exit a station from the street. The stop entry must also specify a parent_station value referencing the stop ID of the parent station for the entrance. | | | +| | | * **4** - Non-passenger-relevant location. An internal-only location or facility such as timing point that does not allow passengers to board or alight. | | | + | parent_station | Optional | For stops that are physically located inside stations, the **parent_station** field identifies the station associated with the stop. To use this field, stops.txt must also contain a row where this stop ID is assigned location type=1. | | | | | | **This stop ID represents...** | **This entry's location type...** | **This entry's parent_station field contains...** | | | | A stop located inside a station. | 0 or blank | The stop ID of the station where this stop is located. The stop referenced by parent_station must have location_type=1. | @@ -122,10 +124,6 @@ File: **Required** | | | * **0** (or empty) - the station entrance will inherit its **wheelchair_boarding** value from the parent station, if specified in the parent | | | | | | * **1** - the station entrance is wheelchair accessible (e.g. an elevator is available to platforms if they are not at-grade) | | | | | | * **2** - there exists no accessible path from the entrance to station platforms | | | -| hidden | Optional | This field indicates if a stop, station, or other facility is relevant for display in passenger-facing applications. | | | -| | | * **0** or blank - passenger-relevant facility should be shown in maps and other applications. | | | -| | | * **1** - an internal-only location or facility such as timing point that does not allow passengers to board or alight. | | | - ### routes.txt From 8847ce2a984bc45a3b610742d46381832998722e Mon Sep 17 00:00:00 2001 From: Aaron Antrim Date: Thu, 5 Jan 2017 12:41:50 -0800 Subject: [PATCH 3/3] Non-passenger-relevant location -> Internal timing point --- gtfs/spec/en/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtfs/spec/en/reference.md b/gtfs/spec/en/reference.md index 3b06cdc27..931a1b627 100644 --- a/gtfs/spec/en/reference.md +++ b/gtfs/spec/en/reference.md @@ -104,7 +104,7 @@ File: **Required** | | | * **0** or blank - Stop. A location where passengers board or disembark from a transit vehicle. | | | | | | * **1** - Station. A physical structure or area that contains one or more stop. | | | | | | * **2** - Station Entrance/Exit. A location where passengers can enter or exit a station from the street. The stop entry must also specify a parent_station value referencing the stop ID of the parent station for the entrance. | | | -| | | * **4** - Non-passenger-relevant location. An internal-only location or facility such as timing point that does not allow passengers to board or alight. | | | +| | | * **4** - Internal timing point. A timing point location where passengers cannot board or alight. When referenced in stop_times.txt, pickup_type and drop_off_type values must be 1 for an internal timing point. | | | | parent_station | Optional | For stops that are physically located inside stations, the **parent_station** field identifies the station associated with the stop. To use this field, stops.txt must also contain a row where this stop ID is assigned location type=1. | | | | | | **This stop ID represents...** | **This entry's location type...** | **This entry's parent_station field contains...** |