Thank you, Daniel. I now have an idea of what to do next.

Best regards,
Chuan

From: Daniel Patterson [mailto:dan...@mapbox.com]
Sent: Monday, August 28, 2017 11:41 AM
To: Mailing list to discuss Project OSRM <osrm-talk@openstreetmap.org>
Subject: [EXTERNAL] Re: [OSRM-talk] Access private roads in routing

Hi,

  Unfortunately no - OSRM is designed to perform very fast route calculation, 
at the expense of flexibility.  Whether private roads are allowed is decided 
during the "pre-processing" step, and you cannot alter that decision when you 
query a route.

  You would need to run your own OSRM server and modify the `car.lua` profile 
to include the road classes you want.  The demo server at 
router.project-osrm.org<http://router.project-osrm.org> uses the default 
car.lua profile (which you can find in the GitHub repository).

daniel

On Mon, Aug 28, 2017 at 7:03 AM, Chuan Li (C) 
<chuan...@gm.com<mailto:chuan...@gm.com>> wrote:
Hello all,

Is there a parameter that I can specify to allow OSRM to route through private 
(proprietary) roads?  I wish to use this URL to send request for test purpose. 
(http://router.project-osrm.org/route/v1/driving/)

Best regards,
Chuan Li



Nothing in this message is intended to constitute an electronic signature 
unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to 
which it is addressed. It may contain confidential and/or privileged material. 
Any review, transmission, dissemination or other use, or taking of any action 
in reliance upon this message by persons or entities other than the intended 
recipient is prohibited and may be unlawful. If you received this message in 
error, please contact the sender and delete it from your computer.

_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org<mailto:OSRM-talk@openstreetmap.org>
https://lists.openstreetmap.org/listinfo/osrm-talk



Nothing in this message is intended to constitute an electronic signature 
unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to 
which it is addressed. It may contain confidential and/or privileged material. 
Any review, transmission, dissemination or other use, or taking of any action 
in reliance upon this message by persons or entities other than the intended 
recipient is prohibited and may be unlawful. If you received this message in 
error, please contact the sender and delete it from your computer.
_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to