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

Add shapeId to already existing trips #385

Closed
robbi5 opened this issue Dec 12, 2018 · 3 comments
Closed

Add shapeId to already existing trips #385

robbi5 opened this issue Dec 12, 2018 · 3 comments

Comments

@robbi5
Copy link

robbi5 commented Dec 12, 2018

I've imported a gtfs file without shapes.txt, opened a trip pattern and edited the pattern geometry (using the stops button and than adding some control points).
The shape gets successfully saved, but all the trips that are using this trip pattern still have no shapeId. By using the UI I didn't find any way to assign the shape to already existing trips, only additional, new trips would get the (now existing) shapeId.

Is there a way to add the shapeId to all already existing trips in the schedule of a trip pattern?

@landonreed
Copy link
Contributor

landonreed commented Dec 18, 2018

I believe this is related to #328 and conveyal/gtfs-lib#109. I have a fix for this inbound in gtfs-lib.

@a1ex4nd3r
Copy link

I've downloaded gtfs-lib from that branch and built it locally. After that I've added it locally to maven lib and edited the pom file. Everything started without issues but I cant upload or download the gtfs files. When I rollback to the gtfs-lib used before everything works fine except the issue with no shapes in zip file after download. Do I need to do smth else than editing pom file and installing to the maven lib locally?

@landonreed
Copy link
Contributor

Using the latest commit to dev on datatools-server (ibi-group/datatools-server@29043c1) fixes this issue.

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

No branches or pull requests

3 participants