Giter Site home page Giter Site logo

Comments (6)

GPistre avatar GPistre commented on May 18, 2024 1

Yes.
No worries, as long as it works :)

from openrouteservice.

TimMcCauley avatar TimMcCauley commented on May 18, 2024

Greetings - can you show me your app.config file and docker-compose.yml ?

from openrouteservice.

GPistre avatar GPistre commented on May 18, 2024

I managed to get it to work using those exact commands (for a specific osm file)

# With heidelberg.osm.gz
git clone https://github.com/GIScience/openrouteservice.git
cd openrouteservice/
cd docker/
docker-compose up -d
# Wait a moment until app ready with http://localhost:8080/ors/health
# Test with http://localhost:8080/ors/routes?profile=foot-walking&coordinates=8.676581,49.418204|8.692803,49.409465


# With Ile De France
cd data/
wget http://download.geofabrik.de/europe/france/ile-de-france-latest.osm.pbf
cd ..
sudo rm -rf logs/ build/ data/graphs/ rm data/cgiar_provider/

nano conf/app.config.sample # change 'heidelberg.osm.gz' to 'ile-de-france-latest.osm.pbf'
docker-compose up --build --force-recreate -d

from openrouteservice.

TimMcCauley avatar TimMcCauley commented on May 18, 2024

Great - can I consider this closed? p.s. and sorry for the late reply..!

from openrouteservice.

eduardoandino avatar eduardoandino commented on May 18, 2024

Sorry to bother again with this. But I did exactly what @GPistre said and the service stays in {"status":"not ready"}.
It works with the dafult OSM dataset, but when I use "ile-de-france-latest.osm.pbf" it does not work. I modified the docker-compose.yml file to point to this new file. What am I missing?

The log in logs/ors/ors.log is empty, and the onw of tomcat shows no error.
Thanks in advance for your help

from openrouteservice.

Jaszkowic avatar Jaszkowic commented on May 18, 2024

@eduardoandino Did you try to check the docker container output with docker container logs <container_id> ? I had a similar problem where status was stuck on "not ready" with no log output in logs/ors/ors.log but some Java out of memory problem that was logged in the docker container. However, I did use a pretty large OSM dataset (~around 4GB), with smaller datasets everything worked fine.

from openrouteservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.