[{"data":1,"prerenderedAt":334},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fconcepts\u002Fstops":3,"_apollo:default":333,"_apollo:stationEditor":333,"_apollo:feedManagement":333,"_apollo:transferAnalyst":333},{"id":4,"title":5,"body":6,"description":323,"extension":324,"meta":325,"navigation":327,"path":328,"seo":329,"stem":330,"__hash__":331,"lastUpdated":332},"content\u002Fdocs\u002Fconcepts\u002Fstops.md","Stops",{"type":7,"value":8,"toc":315},"minimark",[9,23,28,35,126,129,133,140,181,196,200,217,221,224,307],[10,11,12,13,22],"p",{},"Stops are ",[14,15,18],"a",{"href":16,"target":17},"https:\u002F\u002Fgtfs.org\u002Fdocumentation\u002Fschedule\u002Freference\u002F#stopstxt","_blank",[19,20,21],"code",{},"stops.txt"," entities imported from GTFS, and include the same basic structure and fields, plus some additional metadata.",[24,25,27],"h2",{"id":26},"stop-location-types","Stop location types",[10,29,30,31,34],{},"The ",[19,32,33],{},"location_type"," value indicates the purpose of each stop:",[36,37,38,56],"table",{},[39,40,41],"thead",{},[42,43,44,50,53],"tr",{},[45,46,48],"th",{"align":47},"right",[19,49,33],{},[45,51,52],{},"Name",[45,54,55],{},"Description",[57,58,59,74,87,100,113],"tbody",{},[42,60,61,68,71],{},[62,63,64,67],"td",{"align":47},[19,65,66],{},"0"," (or empty)",[62,69,70],{},"Stop or platform",[62,72,73],{},"Where passengers board or alight from a transit vehicle. This is the most common type.",[42,75,76,81,84],{},[62,77,78],{"align":47},[19,79,80],{},"1",[62,82,83],{},"Station",[62,85,86],{},"A physical structure or area containing one or more platforms",[42,88,89,94,97],{},[62,90,91],{"align":47},[19,92,93],{},"2",[62,95,96],{},"Entrance or exit",[62,98,99],{},"Where passengers enter or exit a station from the street",[42,101,102,107,110],{},[62,103,104],{"align":47},[19,105,106],{},"3",[62,108,109],{},"Generic node",[62,111,112],{},"A location within a station used to link together pathways",[42,114,115,120,123],{},[62,116,117],{"align":47},[19,118,119],{},"4",[62,121,122],{},"Boarding area",[62,124,125],{},"A specific location on a platform where passengers board or alight",[10,127,128],{},"Location types 3 and 4 are used with GTFS pathways.",[24,130,132],{"id":131},"stop-hierarchies","Stop hierarchies",[10,134,135,136,139],{},"Stops form hierarchical relationships using the ",[19,137,138],{},"parent_station"," field:",[141,142,143,155,166,175],"ul",{},[144,145,146,147,150,151,154],"li",{},"Stops and platforms (",[19,148,149],{},"location_type=0",") may belong to a parent station (",[19,152,153],{},"location_type=1",")",[144,156,157,158,161,162,165],{},"Entrances (",[19,159,160],{},"location_type=2",") and generic nodes (",[19,163,164],{},"location_type=3",") must have a parent station",[144,167,168,169,172,173,154],{},"Boarding areas (",[19,170,171],{},"location_type=4",") must have a parent platform (",[19,174,149],{},[144,176,177,178,180],{},"Stations (",[19,179,153],{},") cannot have a parent station",[10,182,183,184,187,188,191,192,195],{},"This hierarchy is particularly important for complex transit facilities like major train stations or airports, where pathways connect multiple platforms, entrances, and boarding areas. The API returns a stop's ",[19,185,186],{},"parent"," and ",[19,189,190],{},"children",", along with its ",[19,193,194],{},"level"," and pathways.",[24,197,199],{"id":198},"stop-onestop-ids","Stop Onestop IDs",[10,201,202,203,207,208,212,213,216],{},"As with ",[14,204,206],{"href":205},"\u002Fdocumentation\u002Fconcepts\u002Froutes","routes",", the ",[14,209,211],{"href":210},"\u002Fdocumentation\u002Fconcepts\u002Fonestop-id-scheme","Onestop ID"," values for stops are automatically generated, from a 10-character geohash of the stop's location and the ",[19,214,215],{},"stop_name",". Two very similar stops may both generate the same Onestop ID, in which case a query for that Onestop ID will return two or more stop entries.",[24,218,220],{"id":219},"relationships-and-metadata","Relationships and metadata",[10,222,223],{},"When querying stops through the Transitland API, stops include additional context beyond the standard GTFS fields:",[36,225,226,235],{},[39,227,228],{},[42,229,230,233],{},[45,231,232],{},"Field",[45,234,55],{},[57,236,237,254,268,289,298],{},[42,238,239,244],{},[62,240,241],{},[19,242,243],{},"route_stops",[62,245,30,246,248,249,253],{},[14,247,206],{"href":205}," whose trips serve the stop, each with its operating ",[14,250,252],{"href":251},"\u002Fdocumentation\u002Fconcepts\u002Fagencies-and-operators","agency",". Parent stations have no entries, since trips serve their child platforms. In the REST API, this field is included when requesting a single stop.",[42,255,256,261],{},[62,257,258],{},[19,259,260],{},"feed_version",[62,262,30,263,267],{},[14,264,266],{"href":265},"\u002Fdocumentation\u002Fconcepts\u002Fstatic-gtfs-feed-versions","feed version"," the stop was imported from, and its source feed",[42,269,270,275],{},[62,271,272],{},[19,273,274],{},"place",[62,276,277,278,282,283,187,286],{},"The country and state or province that contains the stop (see ",[14,279,281],{"href":280},"\u002Fdocumentation\u002Fconcepts\u002Fplaces","places","), for example ",[19,284,285],{},"adm0_iso: \"US\"",[19,287,288],{},"adm1_iso: \"US-CA\"",[42,290,291,295],{},[62,292,293],{},[19,294,194],{},[62,296,297],{},"The station level the stop is on, for multi-level stations (such as platforms and mezzanines)",[42,299,300,304],{},[62,301,302],{},[19,303,186],{},[62,305,306],{},"The stop's parent station, if any",[10,308,309,310,314],{},"For detailed information about querying stops, see the ",[14,311,313],{"href":312},"\u002Fdocumentation\u002Frest-api\u002Fstops","REST API stops endpoint",".",{"title":316,"searchDepth":317,"depth":317,"links":318},"",2,[319,320,321,322],{"id":26,"depth":317,"text":27},{"id":131,"depth":317,"text":132},{"id":198,"depth":317,"text":199},{"id":219,"depth":317,"text":220},"Transitland stops are GTFS stops.txt records with location types, parent station hierarchies, generated Onestop IDs, and route, place, and level metadata.","md",{"layout":326},"documentation",true,"\u002Fdocs\u002Fconcepts\u002Fstops",{"title":5,"description":323},"docs\u002Fconcepts\u002Fstops","34_8IdYLKxLZDqQruqHQkq9bESr1kDAzHCduqISRggs","2026-10-06T21:54:02-07:00","{}",1793614315348]