Hei,

what you are trying to do is not something to accomplish fast, since it 
requires to know OpenJUMP and JTS (the geometry library underneath).

There is no way to access the nodes (intersections) directly.
You would need to create the topology first (on the fly), i.e. the nodes 
using for instance the planar graph function. Except nodes are already 
distinguished objects in your dataset.

an example on how to access data in a layer is for instance the buffer 
plugin code:
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Example_Plugin_For_Buffering_Features_in_a_Layer

In your case it would be the best to study a lot of different plugins 
(i.e. classes that end with "PlugIn") to see how things can be achieved:
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo

stefan

ganesh krishnamurthy schrieb:
> Hi ,
> 
> I am in the process of creating a plugin for non rigid conflation for 
> road vectors.I have converted the algorithm in Matlab to Java
> 
> I have a requirement in OpenJUMP where I read two shape files & then 
> individually access the nodes in each of them...
> 
> Could anyone point me as to how I can access the Layers & data(nodes) in 
> the layers in my plugin after loading them thru File-> Open
> 
> 
> Thanks
> Ganesh
> 
> ------------------------------------------------------------------------
> The latest auto launches and test drives Drag n' drop 
> <http://autos.in.msn.com/>
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Download Intel&#174; 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to