Project-OSRM / node-osrm

DEPRECATED Part of osrm-backend since 5.7. NodeJS bindings for OSRM
BSD 2-Clause "Simplified" License
141 stars 48 forks source link

Shipping OSRM Profiles #242

Closed daniel-j-h closed 7 years ago

daniel-j-h commented 8 years ago

Why don't we ship osrm-backend profiles in node-osrm?

node-osrm ships osrm-backend binaries such as osrm-extract and osrm-contract which need to be run for making use of node-osrm. We recommend using the binaries shipping with node-osrm since it's easier to use and the chances for a version mismatch are non-existent.

But then why don't we ship profiles (i.e. car.lua and all Lua modules we require) needed for running osrm-extract? Having the user manually grab profiles from the osrm-backend repo. is not particularly user-friendly.

Can't we just ship profiles along the binaries to get a working setup out of the box?