<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="">Hi Debajyoti,<div class=""><br class=""></div><div class="">I think you’ll need to provide more detailed information on your goals and the problems you are encountering for people to help you. Below I’ll list some of the questions that came to my mind in hopes that it will help clarify things, as well as some suggestions.</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 28 Mar 2017, at 13:35, Debajyoti Ghosh <<a href="mailto:4u.debajyoti@gmail.com" class="">4u.debajyoti@gmail.com</a>> wrote:</div><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class="">Dear all:<div class="">Please suggest how<span style="font-size: 12.8px;" class=""> to implement my algorithm on real ASYMMETRIC road network datasets to get results. </span><br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>When you say “my algorithm” are you referring to existing published algorithms, or new algorithms that you have devised? Can you point to articles detailing those algorithms?</div><div><br class=""></div><div>When you say the network data set is “real”, do you just mean it’s the road network of a real city rather than a synthetic network?</div><div><br class=""></div><div>What is “asymmetric” about that network - traffic flow speeds, direction of travel? </div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class=""><div dir="ltr" style="font-size:12.8px" class=""><div class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px"><font class="">I'm very much confused that I can't interpret data sets as it is given in various uncommon/unknown file format.</font></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div>Which file formats are you referring to, and where did you get these data in the unfamiliar formats? Are you referring to OSM data in XML or PBF formats?</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class=""><div dir="ltr" style="font-size:12.8px" class=""><div class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px"><font class=""> I believe that I need data sets in the form <longitude, latitude> pair for n POI on real road network(spatial data)</font></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div>When you say POI on the road network, do you mean the nodes making up the road network itself, or places that happen to be near the road? The latter I suppose.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class=""><div dir="ltr" style="font-size:12.8px" class=""><div class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px"><font class="">In addition we also need directed graph data sets for asymmetric road network where d(a,b) != d(b,a).</font></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>I suppose this is what you mean by “asymmetric” above, just that network distances between any two nodes are dependent on which is the origin and which is the destination node. OSM data does allow different characteristics for the opposite lanes/direction of a single way, but you’d need to build a routable graph from OSM data that preserves those differences.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class=""><div dir="ltr" style="font-size:12.8px" class=""><div class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px"><font class="">a) data sets collection and interpret/Extracting Spatial Data(say from OpenStreetMap)<br class=""></font></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>“Spatial data” is a very general term - are you specifically talking about a routable graph / network, location of points of interest near such a network, or both? Do you need to collect data “in the field” or are you just using data from OSM?</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class=""><div dir="ltr" style="font-size:12.8px" class=""><div class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px"><font class="">b) implement/simulate a prototype library/framework of LBS queries<br class=""></font></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>I am assuming that by LBS you mean “location-based-services” and by “LBS queries” you mean, essentially, finding places or objects near a given location. There are two main ways to do that: either using straight-line distance or network distance. </div><div><br class=""></div><div>For short distances you could do a lot just placing all your points in a spatial index and calculating straight line distances for all objects found in a spatial index query. This would also be a suitable placeholder technique if you’re concentrating on applications or algorithms higher up the stack and just need a dummy data source that provides nearby points and distances.</div><div><br class=""></div><div>On the other hand, if you want to find nearby objects over longer distances (driving or public transport) or in places with fragmented or irregular networks (mountains, water, sparse public transit), or if you need accurate distances because this is a real service rather than a dummy layer in a prototype, you’ll need a network model.</div><div><br class=""></div><div>Many pieces of software exist for building routable networks from OSM data. For example:</div><div><a href="https://github.com/graphhopper/graphhopper" class="">https://github.com/graphhopper/graphhopper</a></div><div><a href="http://project-osrm.org/" class="">http://project-osrm.org/</a></div><div><a href="https://github.com/valhalla" class="">https://github.com/valhalla</a></div><div><a href="https://github.com/opentripplanner/OpenTripPlanner" class="">https://github.com/opentripplanner/OpenTripPlanner</a></div><div><br class=""></div><div>See also:</div><div><a href="http://wiki.openstreetmap.org/wiki/Routing" class="">http://wiki.openstreetmap.org/wiki/Routing</a></div><div><a href="http://wiki.openstreetmap.org/wiki/Routing/online_routers" class="">http://wiki.openstreetmap.org/wiki/Routing/online_routers</a></div><div><br class=""></div><div>Regards,</div><div>Andrew</div></div><div><br class=""></div><br class=""></div></body></html>