Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Thursday, July 22, 2004

{
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