Hello everyone,
i'm working with Geotools and shapefiles and i was able to easily build
graph using the code below:
I can search for shortest path between two points using both dijkstra and
AStar algorithms:
I have the following questions:
- 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?
Any help wil be appreciated.
Thanks.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Building-graph-from-shapefile-and-shortest-path-tp4976537.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users