-
Notifications
You must be signed in to change notification settings - Fork 31
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
Implement included_lines and excluded_lines in standard trip creator or OsmConnector #117
Comments
In my opinion this should be done in a custom trips creator (current implementation) and not come from a schedule source. I think this has nothing to do with schedule. If we need it to be configurable I would put it into the config file. But I think it should not be covered by standard behaviour. |
I'm okay if we move it to the |
In my opinion it is just not the appropriate place. Why would you do that? Can you give a reasoning? As far as I see, it is an information that specifies on particular GTFS (for any reason) to omit certain lines coming from the data base. As far as I see this is most typical configuration and hasn't to do with schedule or time information. |
Yes, you are right, but why not supporting it within the |
Sure, to put the excluded lines into the config file and handle it in the standard creators seems to me also the right way to go. Why do you need "included_lines"? |
Not sure if this is very specific to our Nicaraguan case, but we have a lot of bus services mapped in the As you can see here, instead of excluding all the lines we don't have schedule information (and update this key every time someone added a new line and we want to rerun osm2gtfs), we wanted to explicitly include only the lines we want in our GTFS. |
Thinking about it another time, I'm not very sure anymore whether this option is really needed: The only option I see we could implement to improve things related to this issue, would be only querying the lines present in |
The current PR #99 (Data structure) lacks the implementation of Schedule's
excluded_lines
andincluded_lines
.@AltNico raised the idea of implementing this function already while querying OSM data from the Overpass API to reduce network traffic and memory usage.
The text was updated successfully, but these errors were encountered: