Osrm-backend: [Question] How to run osrm-backend on windows?

Created on 8 Mar 2018  路  5Comments  路  Source: Project-OSRM/osrm-backend

How to run osrm-backend on windows?
Is there official support of windows?
We should deploy osrm server on azure. Are there anybody any experience?
Thanks

Most helpful comment

Hello.

I try to install osrm locally, on a windows system.

So, I have followed these steps:

  1. I have downloaded binaries from http://build.project-osrm.org/ ;
  2. I have put OpenStreetMap data for my region into the extracted osrm directory ;
  3. In the command prompt :
    a. cd C:\Users\K茅vin\Desktop\OSRM\osrm_Release
    b. osrm-extract 鈥損 profile.lua franche-comte-latest.osm.pbf
    c. osrm-partition franche-comte-latest.osm
    d. osrm-customize franche-comte-latest.osm
    e. osrm-routed franche-comte-latest.osm

But, at the end, I have the following error:
鈫怺31m[error] [exception] Dataset is not compatible with CH鈫怺0m

I will be grateful for any help,

Thanks,

K茅vin

All 5 comments

I downloaded the Windows binaries (v5.16.0) from here: http://build.project-osrm.org/ and they work well enough in my test system (Win 7).

I already use it on azure in Service Fabric. Works well.
v15.6.0 is not latest version. Unfortunately orsm team does not support windows officially and ignoring the windows user needs

Hello.

I try to install osrm locally, on a windows system.

So, I have followed these steps:

  1. I have downloaded binaries from http://build.project-osrm.org/ ;
  2. I have put OpenStreetMap data for my region into the extracted osrm directory ;
  3. In the command prompt :
    a. cd C:\Users\K茅vin\Desktop\OSRM\osrm_Release
    b. osrm-extract 鈥損 profile.lua franche-comte-latest.osm.pbf
    c. osrm-partition franche-comte-latest.osm
    d. osrm-customize franche-comte-latest.osm
    e. osrm-routed franche-comte-latest.osm

But, at the end, I have the following error:
鈫怺31m[error] [exception] Dataset is not compatible with CH鈫怺0m

I will be grateful for any help,

Thanks,

K茅vin

Check this out Quickstart.

That happens because osrm-routed by default assumes a CH compilation but what you did was the MLD one, so you need to: osrm-routed --algorithm=MLD franche-comte-latest.osm and it should work, the alternative is to compile the maps with CH (osrm-extract -> osrm-contract)

input file washington.lates.osm.pbf not found!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RajibChanda picture RajibChanda  路  4Comments

grib0 picture grib0  路  4Comments

JamesLawrenceGSI picture JamesLawrenceGSI  路  3Comments

MouadSb picture MouadSb  路  3Comments

stvno picture stvno  路  3Comments