Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Missing support for 'nearest' and 'locate' queries #52

Closed
clintharris opened this issue Mar 18, 2014 · 1 comment
Closed

Missing support for 'nearest' and 'locate' queries #52

clintharris opened this issue Mar 18, 2014 · 1 comment

Comments

@clintharris
Copy link

It should be possible to run 'nearest' and 'locate' queries in addition to 'viaroute'. Something like this for nearest:

var query = new osrm.Query({
    service: "nearest",
    coordinates: [[52.4224,13.333086]]
});
var sync_result = engine.run(query);

or this for locate:

query = new osrm.Query({
    service: "locate",
    coordinates: [[52.4224,13.333086]]
});
sync_result = engine.run(query);
@clintharris
Copy link
Author

Thanks for the quick merge @springmeyer !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant