Hi Jatin and Sunburned, That's right, JTS has capabilities to create graphs. It is used for many geometry operations.
To add graph capabilities to OpenJUMP, there are several possible design choices. Building something over JTS api Linking Features to a graph api like JGraphT, Jung,... I choosed the second because - I found it more easy to understand - I thing graph problems in GIS often need attributes and are not pure geometric problems - I could easily uses algo implemented like sortest path, node order... I do not say this is the only choice. Just say that it is important to define the goals and to study how JTS can help and how an external graph library can help. Would be nice to list a few use cases for graph capabilities. Michaël Sunburned Surveyor a écrit : > Jatin, > > I think there are already some graph capabilities built-in to JTS. I > would recommend using this functionality in JTS and packaging the > remainder of the code in an OpenJUMP plug-in. > > The Sunburned Surveyor > > On Sat, Mar 20, 2010 at 11:55 AM, Jatin Puri <purija...@gmail.com> wrote: > >> Hello everyone, >> I have some questions and regarding routing abilities in Open Jump as the >> ideas list doesnt only say -Work on routing plug-in for OpenJUMP. >> -Should we add routing API to JTS or >> -Should we link an external graph library to JTS/OpenJUMP . As we know >> that there are a few classes which link JGraphT with Openjump, but again we >> do not have a complete graph API to answer routing or graph problems one >> can find in GIS. >> -Or is there an better approach . >> Waiting for your reply. Your further suggestions will be taken with deep >> empathy. >> -- >> Jatin Puri >> BE Computer Science >> Msc(Hons) Mathematics >> Bits Pilani Goa Campus >> India >> >> >> >> _______________________________________________ >> SoC mailing list >> s...@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/soc >> >> >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel