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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSRM server issue: Handle subregions with more than continent-country level (e.g. south-america/brazil/sul) #21

Open
robcrystalornelas opened this issue Feb 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@robcrystalornelas
Copy link

Hi all 馃憢馃徎 I've got an edge case I wanted to present w/ starting up the OSRM server in a GitHub codespace

If I accidentally (馃槶) run up.routing.start_osrm_server('sul', 'south-america_brazil', 'foot'); without running the code below first

$ mkdir -p ~/data/osrm/
$ cd ~/data/osrm
$ wget https://download.geofabrik.de/south-america/brazil/sul-latest.osm.pbf

I get the output Server was started successfully and it even looks like the server starts at port 5000. However, I don't see all the output from docker in the jupyter notebook.

To get the server to really start successfully, I had to re-run the not just the code chunk above in the terminal, but I also had to do a full rebuild of the container in codespaces. After that rebuild, I had a successful server start in approx 2.5 minutes.

CC: @bitsandbricks, @Claudio9701

@a-regal
Copy link
Collaborator

a-regal commented Mar 24, 2023

Hi @robcrystalornelas that is an interesting edge case. We integrated the three commands into the starting process such that these problems wouldn't occur. I'll look into it though. Thanks for bringing it up!

@Claudio9701 Claudio9701 changed the title OSRM server issue OSRM server issue: Handle subregions with more than continent-country level (e.g. south-america/brazil/sul) Sep 5, 2023
@Claudio9701 Claudio9701 added the enhancement New feature or request label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants