Hi Harshad,

My experience with the generator is that it only takes care of intersections
if the two lines that meet actually end at the intersection point. E.g. if
you have line objects that cross but don't break then the generator won't
know that they should be linked in the graph.

In my work I had to pre-process a road network so that each line is broken
at intersection points. There's a tool to do this in ArcMap (I can't
remember the name but could find it out if you want) or it is fairly
straightforward using geotools - see the splitLinesAtIntersections()
function around line 240 here:

http://geocrimedata.svn.sourceforge.net/viewvc/geocrimedata/SpatialAnalysis/src/main/java/uk/ac/leeds/ccg/spatialanalysis/spacesyntax/SpaceSyntax.java?revision=9&view=markup

Nick

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Reg-AStarShortestPathFinder-Class-in-Geotools-tp6861102p6861266.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to