[OSRM-talk] How to get point location from NodeID?

Nikolay Redko nredko at gmail.com
Mon Aug 5 15:43:35 UTC 2013


Hi Dennis. 

Any news on this feature?

Best regards,
Nikolay

Sent from iPhone.


02.08.2013, в 18:46, Nikolay Redko <nredko at gmail.com> написал(а):

> Hi Dennis
> 
> Sorry for bothering, but I'm really in a rush with this. Do you have any ETA for this feature?
> 
> Thanks again for great product!
> 
> Nikolay.
> 
> 
> 
> 
> On Fri, Jul 26, 2013 at 8:40 PM, Dennis Luxen <dennis.luxen at gmail.com> wrote:
>> It is best at this point to wait a couple of days for an upcoming update that will solve this issue.
>> 
>> --Dennis
>> 
>> Am 26.07.2013 um 15:17 schrieb Nikolay Redko <nredko at gmail.com>:
>> 
>> > Hello!
>> >
>> > I'm writing my own plugin to OSRM.
>> > Trying to get second node of the edge and it's location.
>> > This doesn't work:
>> >
>> > NodeID nodeID = startPhantom.edgeBasedNode;
>> > for(StaticGraph<QueryEdge::EdgeData>::EdgeIterator edge = graph->BeginEdges(nodeID); edge < graph->EndEdges(nodeID); ++edge ) {
>> >       const QueryEdge::EdgeData & data = graph->GetEdgeData(edge);
>> >       const NodeID to = graph->GetTarget(edge);
>> >       _Coordinate coord;
>> >       searchEnginePtr->GetCoordinatesForNodeID(it->first, coord);
>> > //here coord is some weird thing...
>> > }
>> >
>> > Can anybody help?
>> > Thanks,
>> > Nikolay
>> >
>> >
>> > _______________________________________________
>> > OSRM-talk mailing list
>> > OSRM-talk at openstreetmap.org
>> > http://lists.openstreetmap.org/listinfo/osrm-talk
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20130805/de6a7138/attachment.html>


More information about the OSRM-talk mailing list