cal-itp / operational-data-standard

The Transit Operational Data Standard is an open standard for representing the transit schedules used by drivers, dispatchers, and planners to carry out transit operations.
https://ods.calitp.org
Apache License 2.0
26 stars 6 forks source link

Add ability to distinguish between ops_locations types #34

Closed safrazier17 closed 6 months ago

safrazier17 commented 9 months ago

The initial purpose of this request is to differentiate between ops_locations that are:

There are many additional type distinctions we could make; are any of those sufficiently important that we would like to break them out now?

skyqrose commented 9 months ago

Maybe it'd be useful to be able to have a parent/child relationship for ops_locations, like for gtfs stops.txt. e.g. a large parent yard, with many child berths that represent specific important points within the yard.

Child ops_locations could have their parents be a GTFS parent station (e.g. a layover parking spot within a public-facing bus station), but GTFS children couldn't have an ops_location parent, so that GTFS stays internally consistent without ODS, and because it makes less sense to have a public stop within a non-public facility.

I don't have a concrete use case, just a hypothetical plan to model the inside of yards sometime in the future.

skyqrose commented 9 months ago

It also might be nice to have a place to put the kind of location, or other machine-readable metadata, even if there's not a specific list of standardized values to put in those columns. Right now, the only alternative is to somehow encode any metadata in the name or description.

safrazier17 commented 9 months ago

Maybe it'd be useful to be able to have a parent/child relationship for ops_locations, like for gtfs stops.txt. e.g. a large parent yard, with many child berths that represent specific important points within the yard.

Child ops_locations could have their parents be a GTFS parent station (e.g. a layover parking spot within a public-facing bus station), but GTFS children couldn't have an ops_location parent, so that GTFS stays internally consistent without ODS, and because it makes less sense to have a public stop within a non-public facility.

I don't have a concrete use case, just a hypothetical plan to model the inside of yards sometime in the future.

this now has its own issue (see #47)

jeffkessler-keolis commented 9 months ago

From the rail side, specifying interlockings (places where there are a set of switches for trains to change tracks) as their own type of virtual point could be useful for network modeling, but I don't believe the need itself would warrant a change from a two-category boolean to a multi-category enum. (Then again, the latter could future-proof further development as we hope to extend to rail.)

safrazier17 commented 6 months ago

This issue is closed as the functionality in GTFS will now be identical to that in ODS. There is still an open question of whether (or which) additional stop typing is needed, but that can be deferred until after the details of #55 are confirmed by the group