public class GraphEdgeIdFinder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphEdgeIdFinder.BlockArea
This class handles edges and areas where access should be blocked.
|
Constructor and Description |
---|
GraphEdgeIdFinder(Graph graph,
LocationIndex locationIndex) |
Modifier and Type | Method and Description |
---|---|
static GraphEdgeIdFinder.BlockArea |
createBlockArea(Graph graph,
LocationIndex locationIndex,
List<GHPoint> points,
PMap hints,
EdgeFilter edgeFilter) |
GraphEdgeIdFinder.BlockArea |
parseBlockArea(String blockAreaString,
EdgeFilter filter,
double useEdgeIdsUntilAreaSize)
This method reads the blockAreaString and creates a Collection of Shapes or a set of found edges if area is small enough.
|
public GraphEdgeIdFinder(Graph graph, LocationIndex locationIndex)
public static GraphEdgeIdFinder.BlockArea createBlockArea(Graph graph, LocationIndex locationIndex, List<GHPoint> points, PMap hints, EdgeFilter edgeFilter)
public GraphEdgeIdFinder.BlockArea parseBlockArea(String blockAreaString, EdgeFilter filter, double useEdgeIdsUntilAreaSize)
useEdgeIdsUntilAreaSize
- until the specified area (specified in m²) use the findEdgesInShape methodCopyright © 2012–2021. All rights reserved.