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

Build graph over wire indexing error #11

Closed
landonreed opened this issue Aug 21, 2019 · 0 comments · Fixed by #12
Closed

Build graph over wire indexing error #11

landonreed opened this issue Aug 21, 2019 · 0 comments · Fixed by #12
Labels
bug Something isn't working

Comments

@landonreed
Copy link

landonreed commented Aug 21, 2019

Expected behavior

Build graph over wire should not fail.

Observed behavior

The A streetIndex has already been defined. Can't you just reuse the existing one? exception is thrown when attempting to build graph over wire.

if (streetIndex != null) {
throw new UnsupportedOperationException(
"A streetIndex has already been defined. Can't you just reuse the existing one?"
);

Note: this exception is also thrown if running otp with args --build --inMemory. Basically any time the following lines are run in succession:

graphBuilder.run();
graph.index(new DefaultStreetVertexIndexFactory());

Version of OTP used (exact commit hash or JAR name)

472dbc1

Data sets in use (links to GTFS and OSM PBF files)

any

Command line used to start OTP

OTP args: --server --insecure --router default

Router config and graph build config JSON

n/a

Steps to reproduce the problem

Recommended approach is to run Data Tools and OTP on localhost, define an OTP deployment server in Data Tools (using internalUrl field with OTP server location http://localhost:8080/otp), and deploy a single small feed to OTP.

@landonreed landonreed added the bug Something isn't working label Aug 21, 2019
landonreed pushed a commit that referenced this issue Jul 7, 2020
* Making stop lat and lon optional

* Changes to pathways required to support google feed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant