Uses of Interface
com.graphhopper.storage.index.LocationIndex
Packages that use LocationIndex
Package
Description
-
Uses of LocationIndex in com.graphhopper
Methods in com.graphhopper that return LocationIndexModifier and TypeMethodDescriptionprotected LocationIndex
GraphHopper.createLocationIndex
(Directory dir) GraphHopper.getLocationIndex()
The location index created from the graph.Methods in com.graphhopper with parameters of type LocationIndexModifier and TypeMethodDescriptionprotected 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) -
Uses of LocationIndex in com.graphhopper.routing
Fields in com.graphhopper.routing declared as LocationIndexMethods in com.graphhopper.routing with parameters of type LocationIndexModifier and TypeMethodDescriptionprotected Router.Solver
Router.createFlexSolver
(GHRequest request, Map<String, Profile> profilesByName, RouterConfig routerConfig, EncodingManager encodingManager, WeightingFactory weightingFactory, BaseGraph baseGraph, LocationIndex locationIndex) protected Router.Solver
Router.createLMSolver
(GHRequest request, Map<String, Profile> profilesByName, RouterConfig routerConfig, EncodingManager encodingManager, WeightingFactory weightingFactory, BaseGraph baseGraph, LocationIndex locationIndex, Map<String, LandmarkStorage> landmarks) RoundTripRouting.lookup
(List<GHPoint> points, EdgeFilter edgeFilter, LocationIndex locationIndex, RoundTripRouting.Params params) ViaRouting.lookup
(EncodedValueLookup lookup, List<GHPoint> points, EdgeFilter snapFilter, LocationIndex locationIndex, List<String> snapPreventions, List<String> pointHints, DirectedEdgeFilter directedSnapFilter, List<Double> headings) Constructors in com.graphhopper.routing with parameters of type LocationIndexModifierConstructorDescriptionprotected
FlexSolver
(GHRequest request, Map<String, Profile> profilesByName, RouterConfig routerConfig, EncodedValueLookup lookup, WeightingFactory weightingFactory, BaseGraph graph, LocationIndex locationIndex) 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) -
Uses of LocationIndex in com.graphhopper.routing.lm
Methods in com.graphhopper.routing.lm with parameters of type LocationIndexModifier and TypeMethodDescriptionLMPreparationHandler.prepare
(List<LMConfig> lmConfigs, BaseGraph baseGraph, EncodingManager encodingManager, StorableProperties properties, LocationIndex locationIndex, boolean closeEarly) Prepares the landmark data for all given configsstatic LandmarkSuggestion
LandmarkSuggestion.readLandmarks
(String file, LocationIndex locationIndex) The expected format is lon,lat per line where lines starting with characters will be ignored. -
Uses of LocationIndex in com.graphhopper.storage.index
Classes in com.graphhopper.storage.index that implement LocationIndexModifier and TypeClassDescriptionclass
This class implements a Quadtree to get the closest node or edge from GPS coordinates.Methods in com.graphhopper.storage.index that return LocationIndexModifier and TypeMethodDescriptionLocationIndexTree.prepareIndex()
LocationIndexTree.prepareIndex
(EdgeFilter edgeFilter) LocationIndexTree.setResolution
(int minResolutionInMeter) -
Uses of LocationIndex in com.graphhopper.util
Methods in com.graphhopper.util with parameters of type LocationIndexModifier and TypeMethodDescriptionGHUtility.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)