| Package | Description |
|---|---|
| com.graphhopper | |
| com.graphhopper.routing | |
| com.graphhopper.routing.lm | |
| com.graphhopper.storage | |
| com.graphhopper.storage.index | |
| com.graphhopper.util |
| Modifier and Type | Method and Description |
|---|---|
protected LocationIndex |
GraphHopper.createLocationIndex(Directory dir) |
LocationIndex |
GraphHopper.getLocationIndex()
The location index created from the graph.
|
| Modifier and Type | Method and Description |
|---|---|
protected Router |
GraphHopper.doCreateRouter(BaseGraph baseGraph,
EncodingManager encodingManager,
LocationIndex locationIndex,
Map<String,Profile> profilesByName,
PathDetailsBuilderFactory pathBuilderFactory,
TranslationMap trMap,
RouterConfig routerConfig,
WeightingFactory weightingFactory,
Map<String,RoutingCHGraph> chGraphs,
Map<String,LandmarkStorage> landmarks) |
protected void |
GraphHopper.setLocationIndex(LocationIndex locationIndex) |
| Modifier and Type | Method and Description |
|---|---|
static List<Snap> |
ViaRouting.lookup(EncodedValueLookup lookup,
List<GHPoint> points,
EdgeFilter snapFilter,
LocationIndex locationIndex,
List<String> snapPreventions,
List<String> pointHints,
DirectedEdgeFilter directedSnapFilter,
List<Double> headings) |
static List<Snap> |
RoundTripRouting.lookup(List<GHPoint> points,
EdgeFilter edgeFilter,
LocationIndex locationIndex,
RoundTripRouting.Params params) |
| Constructor and Description |
|---|
Router(BaseGraph graph,
EncodingManager encodingManager,
LocationIndex locationIndex,
Map<String,Profile> profilesByName,
PathDetailsBuilderFactory pathDetailsBuilderFactory,
TranslationMap translationMap,
RouterConfig routerConfig,
WeightingFactory weightingFactory,
Map<String,RoutingCHGraph> chGraphs,
Map<String,LandmarkStorage> landmarks) |
| Modifier and Type | Method and Description |
|---|---|
List<PrepareLandmarks> |
LMPreparationHandler.prepare(List<LMConfig> lmConfigs,
BaseGraph baseGraph,
EncodingManager encodingManager,
StorableProperties properties,
LocationIndex locationIndex,
boolean closeEarly)
Prepares the landmark data for all given configs
|
static LandmarkSuggestion |
LandmarkSuggestion.readLandmarks(String file,
LocationIndex locationIndex)
The expected format is lon,lat per line where lines starting with characters will be ignored.
|
| Modifier and Type | Method and Description |
|---|---|
static GraphEdgeIdFinder.BlockArea |
GraphEdgeIdFinder.createBlockArea(Graph graph,
LocationIndex locationIndex,
List<GHPoint> points,
PMap hints,
EdgeFilter edgeFilter) |
| Constructor and Description |
|---|
GraphEdgeIdFinder(Graph graph,
LocationIndex locationIndex) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocationIndexTree
This class implements a Quadtree to get the closest node or edge from GPS coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
LocationIndex |
LocationIndexTree.prepareIndex() |
LocationIndex |
LocationIndexTree.prepareIndex(EdgeFilter edgeFilter) |
LocationIndex |
LocationIndexTree.setResolution(int minResolutionInMeter) |
| Modifier and Type | Method and Description |
|---|---|
static List<Snap> |
GHUtility.createRandomSnaps(BBox bbox,
LocationIndex locationIndex,
Random rnd,
int numPoints,
boolean acceptTower,
EdgeFilter filter) |
static Snap |
GHUtility.getRandomSnap(LocationIndex locationIndex,
Random rnd,
BBox bbox,
EdgeFilter filter) |
Copyright © 2012–2022. All rights reserved.