- The path returned by algorithms is presented in reverse order (from destination to origin), is this correct?
- How can i take into account directions during path search? (e.g. oneway)
- I have a shapefile from Teleatlas with ONEWAY, F_JCNTID, T_JCNTID and other useful properties, how can i use them to create a directed graph?
Re: Building graph from shapefile and shortest path
This post has NOT been accepted by the mailing list yet.
even i am fasing same thing but i want to ask you that how you take a input node (in code node start) cos graph is generated from SimplefeatureSource... and in ShowMap(map) its displaying the SempleFeatureSource in form of MapContext so for taking input for user for start node what should i do ??? means i can select feature from JMapFrame but how to relate it with Graph node ....
i have tested the code by taking manualy start and destination node and it is working fine ...but having trouble for this user input node .....
code for Start and destination node