[OSRM-talk] c++ libosrm api thread safe ?
airof98 at gmail.com
airof98 at gmail.com
Thu Jun 22 21:39:26 UTC 2017
I will use golang cgo for serving.
thanks~~ Daniel
2017년 6월 21일 (수) 오후 4:25, Daniel Hofmann <hofmann at mapbox.com>님이 작성:
> Yes it is thread-safe: you can create a single OSRM object and hammer it
> with parallel requests. Its interface is const
>
>
> https://github.com/Project-OSRM/osrm-backend/blob/99b02cedfbfc6fb24f6b07dedd6df37e885690a9/include/osrm/osrm.hpp#L48-L131
>
> Adding OpenStreetMap NodeIDs to the route is possible by using the Nodes
> Annotations type in the RouteParameters
>
>
> https://github.com/Project-OSRM/osrm-backend/blob/99b02cedfbfc6fb24f6b07dedd6df37e885690a9/include/engine/api/route_parameters.hpp#L70-L80
>
> Cheers,
> Daniel J H
>
> On Tue, Jun 20, 2017 at 11:42 PM, <airof98 at gmail.com> wrote:
>
>> Hi
>>
>> I add osm nodes to route result.
>> and I try to customize turn guide with osm nodes.
>>
>> So, If I service routing server,
>> Is libosrm api thread safe ?
>>
>>
>> Sincerely,
>> HeeSu Shin
>>
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20170622/5f3d04d5/attachment.html>
More information about the OSRM-talk
mailing list