{
classLoader = wc.blackboard.get("com.vividsolutions.jcs.plugin.conflate.roads.LegendToolboxPlugIn - INSTANCE").getClass().classLoader;
x = Class.forName("com.vividsolutions.jcs.conflate.roads.model.adjustedmatchconsistency.AdjustedMatchConsistencyRule", true, classLoader).newInstance();
t = x.topologicalNodeMatchAttempts;
p = x.proximalNodeMatchAttempts;
print("Topological: "+t+" ("+(int)(100*t/(t+p))+"%), Proximal: "+p+" ("+(int)(100*p/(t+p))+"%)");
}
classLoader = wc.blackboard.get("com.vividsolutions.jcs.plugin.conflate.roads.LegendToolboxPlugIn - INSTANCE").getClass().classLoader;
x = Class.forName("com.vividsolutions.jcs.conflate.roads.model.adjustedmatchconsistency.AdjustedMatchConsistencyRule", true, classLoader).newInstance();
t = x.topologicalNodeMatchAttempts;
p = x.proximalNodeMatchAttempts;
print("Topological: "+t+" ("+(int)(100*t/(t+p))+"%), Proximal: "+p+" ("+(int)(100*p/(t+p))+"%)");
}
0 Comments:
Post a Comment
<< Home