| 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 ChangeGraphHelper |
GraphHopper.createChangeGraphHelper(Graph graph,
LocationIndex locationIndex) |
protected void |
GraphHopper.setLocationIndex(LocationIndex locationIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
LMAlgoFactoryDecorator.createPreparations(GraphHopperStorage ghStorage,
LocationIndex locationIndex)
This method creates the landmark storages ready for landmark creation.
|
static LandmarkSuggestion |
LandmarkSuggestion.readLandmarks(String file,
LocationIndex locationIndex)
The expected format is lon,lat per line where lines starting with characters will be ignored.
|
| Constructor and Description |
|---|
AlternativeRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex) |
RoundTripRoutingTemplate(GHRequest request,
GHResponse ghRsp,
LocationIndex locationIndex,
int maxRetries) |
ViaRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex) |
| Modifier and Type | Method and Description |
|---|---|
LocationIndex |
TestAlgoCollector.AlgoHelperEntry.getIdx() |
| Modifier and Type | Method and Description |
|---|---|
List<QueryResult> |
TestAlgoCollector.OneRun.getList(LocationIndex idx,
EdgeFilter edgeFilter) |
| Constructor and Description |
|---|
AlgoHelperEntry(Graph g,
AlgorithmOptions opts,
LocationIndex idx,
String expectedAlgo) |
| Constructor and Description |
|---|
GraphEdgeIdFinder(Graph graph,
LocationIndex locationIndex) |
| Constructor and Description |
|---|
ChangeGraphHelper(Graph graph,
LocationIndex locationIndex) |
| Modifier and Type | Class and Description |
|---|---|
class |
Location2IDFullIndex
Very slow O(n) LocationIndex but no RAM/disc required.
|
class |
Location2IDFullWithEdgesIndex
Same as full index but calculates distance to all edges too
|
class |
LocationIndexTree
This implementation implements an n-tree to get the closest node or edge from GPS coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
LocationIndex |
Location2IDFullWithEdgesIndex.create(long size) |
LocationIndex |
Location2IDFullIndex.create(long size) |
LocationIndex |
LocationIndex.prepareIndex()
Creates this index - to be called once before findID.
|
LocationIndex |
Location2IDFullWithEdgesIndex.prepareIndex() |
LocationIndex |
Location2IDFullIndex.prepareIndex() |
LocationIndex |
LocationIndexTree.prepareIndex() |
LocationIndex |
LocationIndex.setApproximation(boolean approxDist) |
LocationIndex |
Location2IDFullWithEdgesIndex.setApproximation(boolean approxDist) |
LocationIndex |
Location2IDFullIndex.setApproximation(boolean approxDist) |
LocationIndex |
LocationIndexTree.setApproximation(boolean approx) |
LocationIndex |
LocationIndex.setResolution(int resolution)
Integer value to specify the resolution of this location index.
|
LocationIndex |
Location2IDFullWithEdgesIndex.setResolution(int resolution) |
LocationIndex |
Location2IDFullIndex.setResolution(int resolution) |
LocationIndex |
LocationIndexTree.setResolution(int minResolutionInMeter) |
Copyright © 2012–2018. All rights reserved.