for (StreetEdge street : edges) {
allEdges.add(street);
if (street instanceof AreaEdge) {
for (StreetEdge e : ((AreaEdge) street).getArea().getEdges()) {
if (!allEdges.contains(e)) {
CandidateEdge ce = new CandidateEdge(e, originalCoordinate, 0, modes);
if (ce.endwise() || ce.distance > .0005) {
// skip inappropriate area edges
continue;
}
StreetLocation areaSplitter = createStreetLocation(graph, label, name,
Arrays.asList(e), ce.nearestPointOnEdge);