public class NameSimilarityEdgeFilter extends Object implements EdgeFilter
LocationIndex.findClosest(double, double, EdgeFilter)
but the match the edge which name is closest to the pointHint
Names that are similar to each other are (n1 name1, n2 name2):
We aim for allowing slight typos/differences of the substrings, without having too much false positives.
ALL_EDGES| Constructor and Description |
|---|
NameSimilarityEdgeFilter(EdgeFilter edgeFilter,
String pointHint) |
public NameSimilarityEdgeFilter(EdgeFilter edgeFilter, String pointHint)
public final boolean accept(EdgeIteratorState iter)
accept in interface EdgeFilterCopyright © 2012–2018. All rights reserved.