Skip to content
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

Get Route Information from OSM #13

Closed
pantierra opened this issue Sep 18, 2016 · 4 comments
Closed

Get Route Information from OSM #13

pantierra opened this issue Sep 18, 2016 · 4 comments
Assignees

Comments

@pantierra
Copy link
Contributor

Hi there,

the script obtains some attributes from the route from OpenStreetMap, such as reference number (ref) and the name. And then there are additional attributes hard-coded in the script, these are:

  • route_desc
  • route_url
  • route_color
  • route_text_color

Those should be pulled from OpenStreetMap and not be hard coded.

The tagging schema provides tags on bus routes for description, colour and we can also add website. For the text color we could either come up with a new tag in OSM or define it in the script's config file (#3)

@grote grote changed the title Route information Get Route Information from OSM Sep 18, 2016
@grote
Copy link
Owner

grote commented Sep 18, 2016

If that is fine to add those to OSM, that is indeed the best way to get this information. When you re-edit the Floripa routes, could you maybe also add the colors while you are at it? Adding the route_url/website is probably a bit more work.

The text_color then should be also part of the OSM data. If there's a colour tag, there could as well be a text_colour as well. Both are optional in the GTFS spec, so if they don't exist, they will just not be added to the route.

@pantierra
Copy link
Contributor Author

pantierra commented Oct 1, 2016

This is related to default implementation for route creation (#26) and refactoring OsmHelper #31

@pantierra
Copy link
Contributor Author

pantierra commented Dec 9, 2017

I made some progress on this in the context of #76 and included in the work for #96. Now all tags from OSM are getting passed on to the creators and within #30 the desired information for GTFS are initialized attributes on the classes and their objects representing the data.

@pantierra
Copy link
Contributor Author

Resolved with accepted PR #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants