<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 28 Mar 2017, at 15:16, Debajyoti Ghosh <<a href="mailto:4u.debajyoti@gmail.com" class="">4u.debajyoti@gmail.com</a>> wrote:</div><div class=""><div dir="ltr" class="">1] Can u specifically refer a site for data where from i can dwnld & visualize in triplet <start node, end node, distance> format and n POIs is <latitude, longitude format>? In which editor i'll be able to see ?</div></div></blockquote><div><br class=""></div>OpenStreetMap data is good for this purpose. Many people provide extracts of OpenStreetMap data for specific geographic regions, for example: <a href="https://mapzen.com/data/metro-extracts/" class="">https://mapzen.com/data/metro-extracts/</a></div><div><br class=""></div><div>But OSM data is essentially a huge list of points (nodes) and ways formed by connecting those nodes in a certain sequence. It needs to be converted to a graph if you want to apply graph algorithms, and generally you’ll want to treat the nodes that intersections differently than those that only contribute to the shape and length of the edges between the intersections. </div><div><br class=""></div><div>I don’t know of any source for just converting to a routable graph and listing the edge tuples, but again by using an existing routing system you will have that information in data structures in memory. To cite the system I’m most familiar with (OpenTripPlanner) if you load some OSM data, you’ll end up with a Graph object:</div><div><a href="https://github.com/opentripplanner/OpenTripPlanner/blob/master/src/main/java/org/opentripplanner/routing/graph/Graph.java" class="">https://github.com/opentripplanner/OpenTripPlanner/blob/master/src/main/java/org/opentripplanner/routing/graph/Graph.java</a></div><div><br class=""></div><div>which then contains a lot of Vertex and Edge objects, for example in the fields vertices and edgeById. You could write whatever code you want to dump those out as tuples or route on them.</div><div><br class=""></div><div>Andrew</div><div><br class=""></div></body></html>