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

No route_id identified in some regional transxchange files #369

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use the transxchange2GoogleTransitHandler.jar to parse xml from 'NW' region.
2. The routes.txt file outputs a 0 as route_id (also the same in trips.txt)
3.

What is the expected output? What do you see instead?

Expected is a unique identifier for the route whereas a 0 is given. This is 
down to the xml id attribute being empty / not populated by regional provider

E.G

<Services>
    <Service>
      <ServiceCode>GM001920</ServiceCode>
      <Lines>
        <Line id="0">
          <LineName>192</LineName>
        </Line>
    </Service>
</Services

POSSIBLE SOLUTION:

I have identified that the Service Code is available in all regional files and 
maybe used as a route identifier?


What version of the product are you using? On what operating system?

Using the jar file on Mac. Have tried multiple recompiles to circumvent this 
issue.

I have attached a sample NW xml file for you to investigate.

Hope this helps in some way?

Cheers

A

Original issue reported on code.google.com by andrew.j...@gmail.com on 10 Oct 2013 at 9:09

Attachments:

@GoogleCodeExporter
Copy link
Author

Ok the only issue i can spot with using the ServiceCode field is that a service 
might have multiple lines (10/10a) so may not work specifically well for that :(

Original comment by andrew.j...@gmail.com on 10 Oct 2013 at 9:24

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

1 participant