Hi Mohammed,
org.gdms.jgrapht.INode contains a com.vividsolutions.jts.geom.Geometry.
I wrote this method quickly but without testing it (code is in Groovy):
void addNodesAsNewLayer(List nodes, LayerManager layerManager) {
def schema = new FeatureSchema()
schema.addAttribute("geometry", A
Le 18/12/2010 11:32, Mohammed Rashad a écrit :
How to create a layer using a list of INode Values in OpenJUMP using
jgrapht?
Why do you want to create a layer with INode values ?
Currently, INode values are built from first and last coordinate of each
linear feature to "connect" the network.
How to create a layer using a list of INode Values in OpenJUMP using
jgrapht?
--
Rashad
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next