Closed sbma44 closed 4 years ago
fix for this is simple: make a subdirectory with your desired router name, put the files in there, and invoke build like so:
mkdir houston
cd houston
cp /path/to/houston-gtfs.zip .
cp /path/to/houston-osm.pbf .
cd ..
docker run -v $PWD:/graphs -e JAVA_OPTIONS=-Xmx4G urbica/otp --build /graphs/houston
Thanks so much for this project. I hit a few hiccups following the README, but nothing insurmountable. At the end of it I got a working OTP web UI! Nice.
But I'm attempting to play around with transit isochrones and running into problems with API calls. Sample call:
results in output like this.
A few things to note:
default
because the graph appears to build with an empty string as its name. This is confirmed when visiting http://localhost:8080/otp/routers/, which includes<routerId></routerId>
.default
generates some results, but no transit--all the isochrones I get back are walking-only. If I set the mode to TRANSIT only (as above) I get back empty results.I'll go ahead and build my own Docker image, but I figured I might as well file a bug report in case anyone else is trying to get the API going with this one.