-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add license information in the GTFS feed #519
Comments
From technical perspective: I would support feed_info.txt |
@skinkie in theory, it should be open and public. However, some producers/agencies have limits on what can be done to the data (also to limit their liability as well). Eg: London Transit Commission. |
This thread from GTFS-changes may also be useful: https://groups.google.com/g/gtfs-changes/c/iDmt-vjs180/m/wMJI7LHGAQAJ Complication: I believe some feeds may have different licenses for different data (e.g. alignments/shapes.txt). |
@antrim especially if the shapes.txt is derived from OpenStreetMap... |
@antrim @skinkie could there be a solution where the |
Thanks for linking to that old thread, @antrim. I'm glad to see this topic still being discussed. With that said, after that discussion in 2017, I talked to my company's legal team. They said that even if there were machine-readable licensing information in the datasets, we would still have to individually check each one and potentially write a contract with the data provider. For this reason, I decided not to pursue the topic further at that time. I'd be interested to know how folks who DO harvest datasets from all over the world and use them in commercial apps deal with licensing. And what do your legal experts say? Do they agree with mine? |
Although it's not commercial, people from the transitous project can provide some insights on this, as they collect and automatically process hundreds of feeds. See also public-transport/transitous#18. cc @jbruechert |
We have something very similar to this proposal in our additional metadata. |
Describe the problem
Many GTFS feeds are published under licenses that might restrict certain aspects of re-use. The information for these license are often found on the agency websites and can be hard to find. This creates ambiguity for use cases of the GTFS, and might delay their ingestion in trip planners.
Use cases
Adding license information to the GTFS spec allows consumers to easily figure out what they can use the GTFS for, whether they can modify it, re-share it, etc.
For consumers who work with hundreds of GTFS, the operation can even be automatized using the license information in the GTFS.
Proposed solution
Solution 1) Adding fields to
feed_info.txt
since it can contain non-rider-facing information.license_spdx_id
: The SPDX ID of the GTFS feed licenselicense_name
: The name of the licenselicense_url
: linking to either the website of the license, to SPDX or to a page in the agency website that details the conditions of use of the GTFS.Solution 2) Adding a file called
license_info.txt
containinglicense_spdx_id
,license_name
andlicense_url
.A drawback of this 2nd solution is be that
license.txt
is a popular non-CSV file for software in general.Additional information
GBFS has license information. In v3,
license_url
andlicense_id
(SPDX ID) are conditionally forbidden. That can be the case with GTFS by providing alicense_id
if it exists in the SPDX license list, otherwise prividing alicense_url
.The text was updated successfully, but these errors were encountered: