-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Api usage policy
Please see https://routing.openstreetmap.de/about.html and https://www.fossgis.de/arbeitsgruppen/osm-server/nutzungsbedingungen/ (German) for details of access to the current demo server.
The following terms applied to the previous demo server but are still good practice:
We are in principle happy for our Demo Server to be queried from external users. We don't give any guarantees though and expect everyone to adhere to the following rules:
- Excessive use is not allowed. If your requests are impacting the service stability, we will block you.
- Clearly display appropriate data license attribution (ODbL) and the source of your routes (OSRM).
- Valid User-Agent identifying application. Faking another app's User-Agent WILL get you blocked.
- If known, a valid HTTP Referer. See Wikipedia for an explanation.
- Embedding
http://map.project-osrm.org
as an iframe in external websites is not allowed.
- Access to the Demo Server shall be withdrawn at any time and without giving a reason.
- Selling access to our demo server is strictly forbidden!
- Access to the demo server shall not be behind a paywall: If the Demo Server is used in a commercial product, it needs to be publicly accessible and featuring proper attribution.
- We don't give any quality guarantees. The Demo Sever is supplied on best effort basis.
The server is reachable on host router.project-osrm.org and serves HTTP as well as encrypted HTTPS traffic.
Please add yourself to the list of services using OSRM.
This policy may change at any time subject to the needs and constraints of the project. Commercial services, or those that seek donations, should be especially aware that access may be withdrawn at any point: you may no longer be able to serve your paying customers if access is withdrawn.
We thank the OSM Tile Usage Policy that served as a skeleton for this page.
I think this page is obsolete. I add few commet since I tried to compile OSMR recently using Codeblocks 20.03 on Windows 10. What I found was that
Several extra libraries ave to be installed like BZip2, lua. I was using MSYS2 so I did, pacman -S mingw-w64-x86_64-bzip2 pacman -S mingw-w64-x86_64-lua pacman -S mingw-w64-x86_64-zlib
instal Intell tbb https://github.com/oneapi-src/oneTBB/releases Extract it to a folder (e.g., C:\tbb).
Ensure to add TBB Path to CMake Command and that the bin folder of MinGW or MSYS2 (e.g., C:\msys64\mingw64\bin) is added to your system PATH environment variable.
Then in osrm-backend\build run
cmake -G "CodeBlocks - MinGW Makefiles" .. -DCMAKE_BUILD_TYPE=Release -DTBB_INCLUDE_DIR="C:/tbb/include" -DTBB_LIBRARY="C:/tbb/lib/intel64/gcc4.8/libtbb.so"
cmake -G "CodeBlocks - MinGW Makefiles" .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fno-lto -mconsole" -DCMAKE_EXE_LINKER_FLAGS="-Wl,-e,mainCRTStartup"
It may be enough to compile.
However for some compilation problems I add to do
- remove "-Werror # Treat all warnings like error" in a CMakeLists.txt file
- add in shared_memory.hcp in line 208: (void)lock_file; // This explicitly marks lock_file as used to avoid warning of unused variable
- to avoid an Link Time Optimization (LTO) error run cmake -G "CodeBlocks - MinGW Makefiles" .. -DCMAKE_BUILD_TYPE=Release -DIPO=OFF
- put OFF in option(ENABLE_LTO "Use Link Time Optimisation" OFF) and I add set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF) in Cmake
I finally gave up because of Windows console incompatibility (Winmain not found) without knowing the reason even after having, In codebleocks Project properties, Built target, type put Console application