Skip navigation links
A B C D E F G H I J K L M N P R S T U V W 

A

ACTIVE_COUNT - Static variable in class com.graphhopper.util.Parameters.Landmark
Specifies how many active landmarks should be used when routing
ACTIVE_COUNT_DEFAULT - Static variable in class com.graphhopper.util.Parameters.Landmark
Default for active count
add(PathWrapper) - Method in class com.graphhopper.GHResponse
 
add(int, Instruction) - Method in class com.graphhopper.util.InstructionList
 
add(double, double) - Method in class com.graphhopper.util.PointList
 
add(double, double, double) - Method in class com.graphhopper.util.PointList
 
add(PointAccess, int) - Method in class com.graphhopper.util.PointList
 
add(GHPoint) - Method in class com.graphhopper.util.PointList
 
add(PointList) - Method in class com.graphhopper.util.PointList
 
add(double, double, double) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
add(PointList) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
addDebugInfo(String) - Method in class com.graphhopper.GHResponse
 
addDebugInfo(String) - Method in class com.graphhopper.PathWrapper
 
addError(Throwable) - Method in class com.graphhopper.GHResponse
 
addError(Throwable) - Method in class com.graphhopper.PathWrapper
 
addErrors(List<Throwable>) - Method in class com.graphhopper.GHResponse
 
addErrors(List<Throwable>) - Method in class com.graphhopper.PathWrapper
 
addPathDetails(Map<String, List<PathDetail>>) - Method in class com.graphhopper.PathWrapper
Adds the given PathDetails to the existing ones.
addPoint(GHPoint, double) - Method in class com.graphhopper.GHRequest
Add stopover point to routing request.
addPoint(GHPoint) - Method in class com.graphhopper.GHRequest
Add stopover point to routing request.
Algorithms() - Constructor for class com.graphhopper.util.Parameters.Algorithms
 
alignOrientation(double, double) - Method in class com.graphhopper.util.AngleCalc
Change the representation of an orientation, so the difference to the given baseOrientation will be smaller or equal to PI (180 degree).
ALT_ROUTE - Static variable in class com.graphhopper.util.Parameters.Algorithms
alternative route algorithm (not yet for CH)
AltRoute() - Constructor for class com.graphhopper.util.Parameters.Algorithms.AltRoute
 
ANGLE_CALC - Static variable in class com.graphhopper.util.Helper
 
AngleCalc - Class in com.graphhopper.util
Calculates the angle of a turn, defined by three points.
AngleCalc() - Constructor for class com.graphhopper.util.AngleCalc
 
annotation - Variable in class com.graphhopper.util.Instruction
 
arrivalCancelled - Variable in class com.graphhopper.Trip.Stop
 
arrivalTime - Variable in class com.graphhopper.Trip.Stop
 
asMap() - Method in interface com.graphhopper.util.Translation
 
asPMap() - Method in class com.graphhopper.GraphHopperConfig
 
ASTAR - Static variable in class com.graphhopper.util.Parameters.Algorithms
Unidirectional A* (not for CH)
AStar() - Constructor for class com.graphhopper.util.Parameters.Algorithms.AStar
 
ASTAR_BI - Static variable in class com.graphhopper.util.Parameters.Algorithms
Bidirectional A*
AStarBi() - Constructor for class com.graphhopper.util.Parameters.Algorithms.AStarBi
 
AVERAGE_SPEED - Static variable in class com.graphhopper.util.Parameters.Details
 

B

BBox - Class in com.graphhopper.util.shapes
A simple bounding box defined as follows: minLon, maxLon followed by minLat which is south(!) and maxLat.
BBox(double[]) - Constructor for class com.graphhopper.util.shapes.BBox
 
BBox(double, double, double, double) - Constructor for class com.graphhopper.util.shapes.BBox
 
BBox(double, double, double, double, double, double) - Constructor for class com.graphhopper.util.shapes.BBox
 
BBox(double, double, double, double, double, double, boolean) - Constructor for class com.graphhopper.util.shapes.BBox
 
BLOCK_AREA - Static variable in class com.graphhopper.util.Parameters.Routing
block road access via a point in the format lat,lon or an area defined by a circle lat,lon,radius or a rectangle lat1,lon1,lat2,lon2

C

C - Static variable in class com.graphhopper.util.DistanceCalcEarth
Circumference of the earth
CALC_POINTS - Static variable in class com.graphhopper.util.Parameters.Routing
if true the response will contain a point list
calcAzimuth(double, double, double, double) - Method in class com.graphhopper.util.AngleCalc
Calculate the azimuth in degree for a line given by two coordinates.
calcAzimuth(Instruction) - Method in class com.graphhopper.util.Instruction
Return the azimuth in degree based on the first tracksegment of this instruction.
calcBBox2D() - Method in class com.graphhopper.PathWrapper
Calculates the 2D bounding box of this route
calcCircumference(double) - Method in interface com.graphhopper.util.DistanceCalc
 
calcCircumference(double) - Method in class com.graphhopper.util.DistanceCalcEarth
Circumference of the earth at different latitudes (breitengrad)
calcCrossingPointToEdge(double, double, double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
 
calcCrossingPointToEdge(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
calcDenormalizedDist(double) - Method in interface com.graphhopper.util.DistanceCalc
Inverse to calcNormalizedDist.
calcDenormalizedDist(double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
calcDenormalizedDist(double) - Method in class com.graphhopper.util.DistancePlaneProjection
 
calcDirection(Instruction) - Method in class com.graphhopper.util.Instruction
Return the direction like 'NE' based on the first tracksegment of the instruction.
calcDist(double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
Calculates distance of (from, to) in meter.
calcDist(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalc3D
 
calcDist(double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
Calculates distance of (from, to) in meter.
calcDist(double, double, double, double) - Method in class com.graphhopper.util.DistancePlaneProjection
 
calcDist3D(double, double, double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
Calculates 3d distance of (from, to) in meter.
calcDist3D(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
This implements a rather quick solution to calculate 3D distances on earth using euclidean geometry mixed with Haversine formula used for the on earth distance.
calcDist3D(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistancePlaneProjection
 
calcDistance(DistanceCalc) - Method in class com.graphhopper.util.PointList
 
calcIndexSize(BBox) - Static method in class com.graphhopper.util.Helper
 
calcNormalizedDist(double) - Method in interface com.graphhopper.util.DistanceCalc
Returns the specified length in normalized meter.
calcNormalizedDist(double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
Calculates in normalized meter
calcNormalizedDist(double) - Method in class com.graphhopper.util.DistanceCalcEarth
Returns the specified length in normalized meter.
calcNormalizedDist(double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
calcNormalizedDist(double) - Method in class com.graphhopper.util.DistancePlaneProjection
 
calcNormalizedDist(double, double, double, double) - Method in class com.graphhopper.util.DistancePlaneProjection
 
calcNormalizedEdgeDistance(double, double, double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
This method calculates the distance from r to edge (a, b) where the crossing point is c
calcNormalizedEdgeDistance(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
calcNormalizedEdgeDistance3D(double, double, double, double, double, double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
This method calculates the distance from r to edge (a, b) where the crossing point is c including elevation
calcNormalizedEdgeDistance3D(double, double, double, double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
calcNormalizedEdgeDistanceNew(double, double, double, double, double, double, boolean) - Method in class com.graphhopper.util.DistanceCalcEarth
New edge distance calculation where no validEdgeDistance check would be necessary
calcOrientation(double, double, double, double) - Method in class com.graphhopper.util.AngleCalc
 
calcOrientation(double, double, double, double, boolean) - Method in class com.graphhopper.util.AngleCalc
Return orientation of line relative to east.
calculateArea() - Method in class com.graphhopper.util.shapes.BBox
 
calculateArea() - Method in class com.graphhopper.util.shapes.Circle
 
calculateArea() - Method in class com.graphhopper.util.shapes.Polygon
 
calculateArea() - Method in interface com.graphhopper.util.shapes.Shape
 
calculateIntersection(BBox) - Method in class com.graphhopper.util.shapes.BBox
Calculates the intersecting BBox between this and the specified BBox
camelCaseToUnderScore(String) - Static method in class com.graphhopper.util.Helper
 
CH() - Constructor for class com.graphhopper.util.Parameters.CH
 
CHProfileConfig - Class in com.graphhopper.config
Corresponds to an entry in the `profiles_ch` section in config.yml and specifies a routing profile that shall be prepared using Contraction Hierarchies (CH)
CHProfileConfig(String) - Constructor for class com.graphhopper.config.CHProfileConfig
 
Circle - Class in com.graphhopper.util.shapes
 
Circle(double, double, double) - Constructor for class com.graphhopper.util.shapes.Circle
 
Circle(double, double, double, DistanceCalc) - Constructor for class com.graphhopper.util.shapes.Circle
 
clear() - Method in class com.graphhopper.util.PointList
 
clear() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
clone(boolean) - Method in class com.graphhopper.util.PointList
Clones this PointList.
clone() - Method in class com.graphhopper.util.shapes.BBox
 
close(Closeable) - Static method in class com.graphhopper.util.Helper
 
com.graphhopper - package com.graphhopper
 
com.graphhopper.config - package com.graphhopper.config
 
com.graphhopper.json.geo - package com.graphhopper.json.geo
 
com.graphhopper.routing.util - package com.graphhopper.routing.util
 
com.graphhopper.util - package com.graphhopper.util
 
com.graphhopper.util.details - package com.graphhopper.util.details
 
com.graphhopper.util.exceptions - package com.graphhopper.util.exceptions
 
com.graphhopper.util.shapes - package com.graphhopper.util.shapes
 
compare(double, double) - Static method in class com.graphhopper.util.NumHelper
 
ConnectionNotFoundException - Exception in com.graphhopper.util.exceptions
If a route cannot be found due to disconnected graphs.
ConnectionNotFoundException(String, Map<String, Object>) - Constructor for exception com.graphhopper.util.exceptions.ConnectionNotFoundException
 
contains(Shape) - Method in class com.graphhopper.util.shapes.BBox
 
contains(double, double) - Method in class com.graphhopper.util.shapes.BBox
 
contains(BBox) - Method in class com.graphhopper.util.shapes.BBox
 
contains(Circle) - Method in class com.graphhopper.util.shapes.BBox
 
contains(double, double) - Method in class com.graphhopper.util.shapes.Circle
 
contains(Shape) - Method in class com.graphhopper.util.shapes.Circle
 
contains(BBox) - Method in class com.graphhopper.util.shapes.Circle
 
contains(Circle) - Method in class com.graphhopper.util.shapes.Circle
 
contains(double, double) - Method in class com.graphhopper.util.shapes.Polygon
Does the point in polygon check.
contains(Shape) - Method in class com.graphhopper.util.shapes.Polygon
 
contains(double, double) - Method in interface com.graphhopper.util.shapes.Shape
 
contains(Shape) - Method in interface com.graphhopper.util.shapes.Shape
 
CONTINUE_ON_STREET - Static variable in class com.graphhopper.util.Instruction
 
convertAzimuth2xaxisAngle(double) - Method in class com.graphhopper.util.AngleCalc
convert north based clockwise azimuth (0, 360) into x-axis/east based angle (-Pi, Pi)
copy(int, int) - Method in class com.graphhopper.util.PointList
This method does a deep copy of this object for the specified range.
COUNT - Static variable in class com.graphhopper.util.Parameters.Landmark
Specifies how many landmarks should be created
countBitValue(int) - Static method in class com.graphhopper.util.Helper
 
create(Point) - Static method in class com.graphhopper.util.shapes.GHPoint
 
create(Polygon) - Static method in class com.graphhopper.util.shapes.Polygon
 
createBBox(double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
 
createBBox(double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
createDoubleList(double[]) - Static method in class com.graphhopper.util.Helper
 
createFormatter() - Static method in class com.graphhopper.util.Helper
This creates a date formatter for yyyy-MM-dd'T'HH:mm:ss'Z' which is has to be identical to buildDate used in pom.xml
createFormatter(String) - Static method in class com.graphhopper.util.Helper
Creates a SimpleDateFormat with the UK locale.
createInverse(boolean) - Static method in class com.graphhopper.util.shapes.BBox
Prefills BBox with minimum values so that it can increase.
createPointList(double...) - Static method in class com.graphhopper.util.Helper
 
createPointList3D(double...) - Static method in class com.graphhopper.util.Helper
 
CURBSIDE - Static variable in class com.graphhopper.util.Parameters.Routing
 
CURBSIDE_ANY - Static variable in class com.graphhopper.util.Parameters.Curbsides
 
CURBSIDE_LEFT - Static variable in class com.graphhopper.util.Parameters.Curbsides
 
CURBSIDE_RIGHT - Static variable in class com.graphhopper.util.Parameters.Curbsides
 
Curbsides() - Constructor for class com.graphhopper.util.Parameters.Curbsides
 

D

DEFAULT_HEADING_PENALTY - Static variable in class com.graphhopper.util.Parameters.Routing
default heading penalty in seconds
degreeToInt(double) - Static method in class com.graphhopper.util.Helper
Converts into an integer to be compatible with the still limited DataAccess class (accepts only integer values).
departureCancelled - Variable in class com.graphhopper.Trip.Stop
 
departureLocation - Variable in class com.graphhopper.Trip.Leg
 
departureTime - Variable in class com.graphhopper.Trip.Stop
 
DetailedIllegalArgumentException - Exception in com.graphhopper.util.exceptions
 
DetailedIllegalArgumentException(String, Map<String, Object>) - Constructor for exception com.graphhopper.util.exceptions.DetailedIllegalArgumentException
 
DetailedRuntimeException - Exception in com.graphhopper.util.exceptions
 
DetailedRuntimeException(String, Map<String, Object>) - Constructor for exception com.graphhopper.util.exceptions.DetailedRuntimeException
 
Details() - Constructor for class com.graphhopper.util.Parameters.Details
 
DIJKSTRA - Static variable in class com.graphhopper.util.Parameters.Algorithms
Unidirectional Dijkstra (not for CH)
DIJKSTRA_BI - Static variable in class com.graphhopper.util.Parameters.Algorithms
Bidirectional Dijkstra
DIJKSTRA_ONE_TO_MANY - Static variable in class com.graphhopper.util.Parameters.Algorithms
one to many Dijkstra (not yet for edge based #394, not yet for CH)
DISABLE - Static variable in class com.graphhopper.util.Parameters.CH
This property name in HintsMap configures at runtime if CH routing should be ignored.
DISABLE - Static variable in class com.graphhopper.util.Parameters.Landmark
This property name in HintsMap configures at runtime if CH routing should be ignored.
DIST_EARTH - Static variable in class com.graphhopper.util.Helper
 
DIST_PLANE - Static variable in class com.graphhopper.util.Helper
 
distance - Variable in class com.graphhopper.Trip.Leg
 
distance - Variable in class com.graphhopper.util.Instruction
 
DISTANCE - Static variable in class com.graphhopper.util.Parameters.Algorithms.RoundTrip
 
DISTANCE - Static variable in class com.graphhopper.util.Parameters.Details
 
DistanceCalc - Interface in com.graphhopper.util
Calculates the distance of two points or one point and an edge on earth via haversine formula.
DistanceCalc3D - Class in com.graphhopper.util
This class implements a rather quick solution to calculate 3D distances on earth using euclidean geometry mixed with Haversine formula used for the on earth distance.
DistanceCalc3D() - Constructor for class com.graphhopper.util.DistanceCalc3D
 
DistanceCalcEarth - Class in com.graphhopper.util
 
DistanceCalcEarth() - Constructor for class com.graphhopper.util.DistanceCalcEarth
 
DistancePlaneProjection - Class in com.graphhopper.util
Calculates the approximate distance of two points on earth.
DistancePlaneProjection() - Constructor for class com.graphhopper.util.DistancePlaneProjection
 

E

EDGE_BASED - Static variable in class com.graphhopper.util.Parameters.Routing
 
EDGE_ID - Static variable in class com.graphhopper.util.Parameters.Details
 
ele - Variable in class com.graphhopper.util.shapes.GHPoint3D
 
eleToInt(double) - Static method in class com.graphhopper.util.Helper
Converts elevation value (in meters) into integer for storage.
EMPTY - Static variable in class com.graphhopper.util.InstructionAnnotation
 
EMPTY - Static variable in class com.graphhopper.util.PointList
 
ensureNode(int) - Method in interface com.graphhopper.util.PointAccess
This method ensures that the node with the specified index exists i.e.
ensureNode(int) - Method in class com.graphhopper.util.PointList
 
ensureNode(int) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
EPSILON - Static variable in class com.graphhopper.util.Parameters.Algorithms.AStar
 
EPSILON - Static variable in class com.graphhopper.util.Parameters.Algorithms.AStarBi
 
equals(Object) - Method in class com.graphhopper.config.CHProfileConfig
 
equals(Object) - Method in class com.graphhopper.config.ProfileConfig
 
equals(Object) - Method in class com.graphhopper.util.InstructionAnnotation
 
equals(double, double) - Static method in class com.graphhopper.util.NumHelper
 
equals(Object) - Method in class com.graphhopper.util.PointList
 
equals(Object) - Method in class com.graphhopper.util.shapes.BBox
 
equals(Object) - Method in class com.graphhopper.util.shapes.Circle
 
equals(Object) - Method in class com.graphhopper.util.shapes.GHPoint
 
equals(Object) - Method in class com.graphhopper.util.shapes.GHPoint3D
 
equalsEps(double, double) - Static method in class com.graphhopper.util.NumHelper
 
equalsEps(double, double, double) - Static method in class com.graphhopper.util.NumHelper
 
equalsEps(double, double) - Static method in class com.graphhopper.util.PointList
 
equalsEps(double, double, double) - Static method in class com.graphhopper.util.PointList
 
extraInfo - Variable in class com.graphhopper.util.Instruction
 

F

feed_id - Variable in class com.graphhopper.Trip.PtLeg
 
find(double, double, double) - Method in class com.graphhopper.util.InstructionList
This method is useful for navigation devices to find the next instruction for the specified coordinate (e.g.
FINISH - Static variable in class com.graphhopper.util.Instruction
 
FinishInstruction - Class in com.graphhopper.util
 
FinishInstruction(String, double, double, double) - Constructor for class com.graphhopper.util.FinishInstruction
 
FinishInstruction(double, double, double) - Constructor for class com.graphhopper.util.FinishInstruction
 
FinishInstruction(String, PointAccess, int) - Constructor for class com.graphhopper.util.FinishInstruction
 
FinishInstruction(PointAccess, int) - Constructor for class com.graphhopper.util.FinishInstruction
 
firstBig(String) - Static method in class com.graphhopper.util.Helper
 
FORCE_CURBSIDE - Static variable in class com.graphhopper.util.Parameters.Routing
 
from(LineString) - Static method in class com.graphhopper.util.PointList
 
fromEnvelope(Envelope) - Static method in class com.graphhopper.util.shapes.BBox
 
fromJson(double[]) - Static method in class com.graphhopper.util.shapes.GHPoint
 
fromLineString(LineString) - Static method in class com.graphhopper.util.PointList
 
fromPoints(double, double, double, double) - Static method in class com.graphhopper.util.shapes.BBox
 
fromString(String) - Static method in class com.graphhopper.util.shapes.GHPoint
 
fromStringLonLat(String) - Static method in class com.graphhopper.util.shapes.GHPoint
 

G

geometry - Variable in class com.graphhopper.Trip.Leg
 
geometry - Variable in class com.graphhopper.Trip.Stop
 
get(int) - Method in class com.graphhopper.util.InstructionList
 
get(int) - Method in class com.graphhopper.util.PointList
 
getAlgorithm() - Method in class com.graphhopper.GHRequest
 
getAll() - Method in class com.graphhopper.GHResponse
This method returns the best path as well as all alternatives.
getAnnotation() - Method in class com.graphhopper.util.Instruction
 
getArrivalTime() - Method in class com.graphhopper.Trip.Leg
 
getArrivalTime() - Method in class com.graphhopper.Trip.PtLeg
 
getArrivalTime() - Method in class com.graphhopper.Trip.WalkLeg
 
getAscend() - Method in class com.graphhopper.PathWrapper
This method returns the total elevation change (going upwards) in meter.
getBBox() - Method in class com.graphhopper.json.geo.JsonFeature
 
getBest() - Method in class com.graphhopper.GHResponse
Returns the best path.
getBool(String, boolean) - Method in class com.graphhopper.GraphHopperConfig
 
getBool(String, boolean) - Method in class com.graphhopper.util.PMap
 
getBounds() - Method in class com.graphhopper.util.shapes.BBox
 
getBounds() - Method in class com.graphhopper.util.shapes.Circle
 
getBounds() - Method in class com.graphhopper.util.shapes.Polygon
 
getBounds() - Method in interface com.graphhopper.util.shapes.Shape
 
getCachedLineString(boolean) - Method in class com.graphhopper.util.PointList
 
getCenter() - Method in class com.graphhopper.util.shapes.BBox
 
getCenter() - Method in class com.graphhopper.util.shapes.Circle
 
getCenter() - Method in class com.graphhopper.util.shapes.Polygon
 
getCenter() - Method in interface com.graphhopper.util.shapes.Shape
 
getCHProfiles() - Method in class com.graphhopper.GraphHopperConfig
 
getCurbsides() - Method in class com.graphhopper.GHRequest
 
getDebugInfo() - Method in class com.graphhopper.GHResponse
 
getDebugInfo() - Method in class com.graphhopper.PathWrapper
 
getDepartureTime() - Method in class com.graphhopper.Trip.Leg
 
getDepartureTime() - Method in class com.graphhopper.Trip.PtLeg
 
getDepartureTime() - Method in class com.graphhopper.Trip.WalkLeg
 
getDescend() - Method in class com.graphhopper.PathWrapper
This method returns the total elevation change (going downwards) in meter.
getDescription() - Method in class com.graphhopper.PathWrapper
 
getDetails() - Method in exception com.graphhopper.util.exceptions.DetailedIllegalArgumentException
 
getDetails() - Method in exception com.graphhopper.util.exceptions.DetailedRuntimeException
 
getDetails() - Method in interface com.graphhopper.util.exceptions.GHException
 
getDetails() - Method in exception com.graphhopper.util.exceptions.PointNotFoundException
 
getDimension() - Method in interface com.graphhopper.util.PointAccess
 
getDimension() - Method in class com.graphhopper.util.PointList
 
getDimension() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getDistance() - Method in class com.graphhopper.PathWrapper
This method returns the distance of the path.
getDistance() - Method in class com.graphhopper.Trip.Leg
 
getDistance() - Method in class com.graphhopper.util.Instruction
Distance in meter until no new instruction
getDouble(String, double) - Method in class com.graphhopper.GraphHopperConfig
 
getDouble(String, double) - Method in class com.graphhopper.util.PMap
 
getEle(int) - Method in interface com.graphhopper.util.PointAccess
 
getEle(int) - Method in class com.graphhopper.util.PointList
 
getEle() - Method in class com.graphhopper.util.shapes.GHPoint3D
 
getElevation(int) - Method in interface com.graphhopper.util.PointAccess
Returns the elevation of the specified nodeId.
getElevation(int) - Method in class com.graphhopper.util.PointList
 
getElevation(int) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getElevation() - Method in class com.graphhopper.util.shapes.GHPoint3D
 
getErrors() - Method in class com.graphhopper.GHResponse
This method returns all the explicitly added errors and the errors of all paths.
getErrors() - Method in class com.graphhopper.PathWrapper
 
getExitNumber() - Method in class com.graphhopper.util.RoundaboutInstruction
 
getExtraInfoJSON() - Method in class com.graphhopper.util.Instruction
 
getExtraInfoJSON() - Method in class com.graphhopper.util.RoundaboutInstruction
 
getFare() - Method in class com.graphhopper.PathWrapper
 
getFavoredHeading(int) - Method in class com.graphhopper.GHRequest
 
getFeatures() - Method in class com.graphhopper.json.geo.JsonFeatureCollection
 
getFirst() - Method in class com.graphhopper.util.details.PathDetail
 
getFloat(String, float) - Method in class com.graphhopper.GraphHopperConfig
 
getFloat(String, float) - Method in class com.graphhopper.util.PMap
 
getGeometry() - Method in class com.graphhopper.json.geo.JsonFeature
 
getHints() - Method in class com.graphhopper.config.ProfileConfig
 
getHints() - Method in class com.graphhopper.GHRequest
 
getHints() - Method in class com.graphhopper.GHResponse
 
getId() - Method in class com.graphhopper.json.geo.JsonFeature
 
getImportance() - Method in class com.graphhopper.util.InstructionAnnotation
 
getInstructions() - Method in class com.graphhopper.PathWrapper
 
getInt(String, int) - Method in class com.graphhopper.GraphHopperConfig
 
getInt(String, int) - Method in class com.graphhopper.util.PMap
 
getIntervalString() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getLanguage() - Method in interface com.graphhopper.util.Translation
 
getLast() - Method in class com.graphhopper.util.details.PathDetail
 
getLat(int) - Method in interface com.graphhopper.util.PointAccess
 
getLat(int) - Method in class com.graphhopper.util.PointList
 
getLat() - Method in class com.graphhopper.util.shapes.Circle
 
getLat() - Method in class com.graphhopper.util.shapes.GHPoint
 
getLatitude(int) - Method in interface com.graphhopper.util.PointAccess
 
getLatitude(int) - Method in class com.graphhopper.util.PointList
 
getLatitude(int) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getLegs() - Method in class com.graphhopper.PathWrapper
 
getLength() - Method in class com.graphhopper.util.details.PathDetail
 
getLength() - Method in class com.graphhopper.util.FinishInstruction
 
getLength() - Method in class com.graphhopper.util.Instruction
This method returns the length of an Instruction.
getLength() - Method in class com.graphhopper.util.ViaInstruction
 
getLMProfiles() - Method in class com.graphhopper.GraphHopperConfig
 
getLocale() - Method in class com.graphhopper.GHRequest
 
getLocale(String) - Static method in class com.graphhopper.util.Helper
 
getLocale() - Method in interface com.graphhopper.util.Translation
 
getLon(int) - Method in interface com.graphhopper.util.PointAccess
 
getLon(int) - Method in class com.graphhopper.util.PointList
 
getLon() - Method in class com.graphhopper.util.shapes.Circle
 
getLon() - Method in class com.graphhopper.util.shapes.GHPoint
 
getLong(String, long) - Method in class com.graphhopper.GraphHopperConfig
 
getLong(String, long) - Method in class com.graphhopper.util.PMap
 
getLongitude(int) - Method in interface com.graphhopper.util.PointAccess
 
getLongitude(int) - Method in class com.graphhopper.util.PointList
 
getLongitude(int) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getMaximumLMWeight() - Method in class com.graphhopper.config.LMProfileConfig
 
getMaxLat() - Method in class com.graphhopper.util.shapes.Polygon
 
getMaxLon() - Method in class com.graphhopper.util.shapes.Polygon
 
getMemInfo() - Static method in class com.graphhopper.util.Helper
 
getMessage() - Method in class com.graphhopper.util.InstructionAnnotation
 
getMinLat() - Method in class com.graphhopper.util.shapes.Polygon
 
getMinLon() - Method in class com.graphhopper.util.shapes.Polygon
 
getName() - Method in class com.graphhopper.config.ProfileConfig
 
getName() - Method in class com.graphhopper.util.Instruction
 
getNumChanges() - Method in class com.graphhopper.PathWrapper
 
getObject(String, T) - Method in class com.graphhopper.util.PMap
 
getPathDetails() - Method in class com.graphhopper.GHRequest
 
getPathDetails() - Method in class com.graphhopper.PathWrapper
 
getPointHints() - Method in class com.graphhopper.GHRequest
 
getPointIndex() - Method in exception com.graphhopper.util.exceptions.PointNotFoundException
 
getPoints() - Method in class com.graphhopper.GHRequest
 
getPoints() - Method in class com.graphhopper.PathWrapper
This method returns all points on the path.
getPoints() - Method in class com.graphhopper.util.Instruction
 
getPointsOrder() - Method in class com.graphhopper.PathWrapper
 
getProfile() - Method in class com.graphhopper.config.CHProfileConfig
 
getProfile() - Method in class com.graphhopper.config.LMProfileConfig
 
getProfiles() - Method in class com.graphhopper.GraphHopperConfig
 
getProperties() - Method in class com.graphhopper.json.geo.JsonFeature
 
getProperty(String) - Method in class com.graphhopper.json.geo.JsonFeature
 
getRouteWeight() - Method in class com.graphhopper.PathWrapper
This method returns a double value which is better than the time for comparison of routes but only if you know what you are doing, e.g.
getSign() - Method in class com.graphhopper.util.Instruction
The instruction for the person/driver to execute.
getSize() - Method in class com.graphhopper.util.PointList
 
getSize() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
getSizeOfLongArray(int, int) - Static method in class com.graphhopper.util.Helper
 
getSizeOfObjectArray(int, int) - Static method in class com.graphhopper.util.Helper
 
getSizeOfObjectRef(int) - Static method in class com.graphhopper.util.Helper
 
getSnapPreventions() - Method in class com.graphhopper.GHRequest
 
getString(String, String) - Method in class com.graphhopper.GraphHopperConfig
 
getString(String, String) - Method in class com.graphhopper.util.PMap
 
getTime() - Method in class com.graphhopper.PathWrapper
 
getTime() - Method in class com.graphhopper.util.Instruction
Duration until the next instruction, in milliseconds
getTotalMB() - Static method in class com.graphhopper.util.Helper
 
getTr() - Method in class com.graphhopper.util.InstructionList
 
getTurnAngle() - Method in class com.graphhopper.util.RoundaboutInstruction
 
getTurnDescription(Translation) - Method in class com.graphhopper.util.FinishInstruction
 
getTurnDescription(Translation) - Method in class com.graphhopper.util.Instruction
 
getTurnDescription(Translation) - Method in class com.graphhopper.util.RoundaboutInstruction
 
getTurnDescription(Translation) - Method in class com.graphhopper.util.ViaInstruction
 
getType() - Method in class com.graphhopper.json.geo.JsonFeature
 
getType() - Method in class com.graphhopper.json.geo.JsonFeatureCollection
 
getUsedMB() - Static method in class com.graphhopper.util.Helper
 
getUsedMBAfterGC() - Static method in class com.graphhopper.util.Helper
 
getValue() - Method in class com.graphhopper.util.details.PathDetail
 
getVehicle() - Method in class com.graphhopper.config.ProfileConfig
 
getVehicle() - Method in class com.graphhopper.GHRequest
 
getVehicle() - Method in class com.graphhopper.routing.util.HintsMap
 
getViaCount() - Method in class com.graphhopper.util.ViaInstruction
 
getWaypoints() - Method in class com.graphhopper.PathWrapper
This method returns the input points snapped to the road network.
getWeighting() - Method in class com.graphhopper.config.ProfileConfig
 
getWeighting() - Method in class com.graphhopper.GHRequest
 
getWeighting() - Method in class com.graphhopper.routing.util.HintsMap
 
GHException - Interface in com.graphhopper.util.exceptions
Generic GHException that allows to add details to the exception message
GHPoint - Class in com.graphhopper.util.shapes
 
GHPoint() - Constructor for class com.graphhopper.util.shapes.GHPoint
 
GHPoint(double, double) - Constructor for class com.graphhopper.util.shapes.GHPoint
 
GHPoint3D - Class in com.graphhopper.util.shapes
 
GHPoint3D(double, double, double) - Constructor for class com.graphhopper.util.shapes.GHPoint3D
 
GHRequest - Class in com.graphhopper
GraphHopper request wrapper to simplify requesting GraphHopper.
GHRequest() - Constructor for class com.graphhopper.GHRequest
 
GHRequest(int) - Constructor for class com.graphhopper.GHRequest
 
GHRequest(double, double, double, double, double, double) - Constructor for class com.graphhopper.GHRequest
Set routing request from specified startPlace (fromLat, fromLon) to endPlace (toLat, toLon) with a preferred start and end heading.
GHRequest(double, double, double, double) - Constructor for class com.graphhopper.GHRequest
Set routing request from specified startPlace (fromLat, fromLon) to endPlace (toLat, toLon)
GHRequest(GHPoint, GHPoint, double, double) - Constructor for class com.graphhopper.GHRequest
Set routing request from specified startPlace to endPlace with a preferred start and end heading.
GHRequest(GHPoint, GHPoint) - Constructor for class com.graphhopper.GHRequest
 
GHRequest(List<GHPoint>, List<Double>) - Constructor for class com.graphhopper.GHRequest
Set routing request
GHRequest(List<GHPoint>) - Constructor for class com.graphhopper.GHRequest
Set routing request
GHResponse - Class in com.graphhopper
Wrapper containing path and error output of GraphHopper.
GHResponse() - Constructor for class com.graphhopper.GHResponse
 
GraphHopperAPI - Interface in com.graphhopper
Wrapper of the graphhopper online or offline API.
GraphHopperConfig - Class in com.graphhopper
This class represents the global configuration for the GraphHopper class, which is typically configured via the `config.yml` file.
GraphHopperConfig() - Constructor for class com.graphhopper.GraphHopperConfig
 
GraphHopperConfig(PMap) - Constructor for class com.graphhopper.GraphHopperConfig
 

H

has(String) - Method in class com.graphhopper.GraphHopperConfig
 
has(String) - Method in class com.graphhopper.util.PMap
 
hasAlternatives() - Method in class com.graphhopper.GHResponse
This method returns true if there are alternative paths available besides the best.
hasCurbsides() - Method in class com.graphhopper.GHRequest
 
hasElevation() - Method in class com.graphhopper.util.shapes.BBox
 
hasElevationDiff(double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
hasErrors() - Method in class com.graphhopper.GHResponse
This method returns true if one of the paths has an error or if the response itself is erroneous.
hasErrors() - Method in class com.graphhopper.PathWrapper
 
hasFavoredHeading(int) - Method in class com.graphhopper.GHRequest
 
hasGeometry() - Method in class com.graphhopper.json.geo.JsonFeature
 
hashCode() - Method in class com.graphhopper.config.CHProfileConfig
 
hashCode() - Method in class com.graphhopper.config.ProfileConfig
 
hashCode() - Method in class com.graphhopper.util.InstructionAnnotation
 
hashCode() - Method in class com.graphhopper.util.PointList
 
hashCode() - Method in class com.graphhopper.util.shapes.BBox
 
hashCode() - Method in class com.graphhopper.util.shapes.Circle
 
hashCode() - Method in class com.graphhopper.util.shapes.GHPoint
 
hashCode() - Method in class com.graphhopper.util.shapes.GHPoint3D
 
hasPointHints() - Method in class com.graphhopper.GHRequest
 
hasProperties() - Method in class com.graphhopper.json.geo.JsonFeature
 
hasSnapPreventions() - Method in class com.graphhopper.GHRequest
 
HEADING_PENALTY - Static variable in class com.graphhopper.util.Parameters.Routing
 
Helper - Class in com.graphhopper.util
 
HintsMap - Class in com.graphhopper.routing.util
 
HintsMap() - Constructor for class com.graphhopper.routing.util.HintsMap
 
HintsMap(int) - Constructor for class com.graphhopper.routing.util.HintsMap
 
HintsMap(String) - Constructor for class com.graphhopper.routing.util.HintsMap
Convenient constructor if only one parameter is provided
HintsMap(PMap) - Constructor for class com.graphhopper.routing.util.HintsMap
 
HintsMap(HintsMap) - Constructor for class com.graphhopper.routing.util.HintsMap
 

I

idealByteArraySize(int) - Static method in class com.graphhopper.util.Helper
 
idealIntArraySize(int) - Static method in class com.graphhopper.util.Helper
 
IGNORE - Static variable in class com.graphhopper.util.Instruction
 
increaseExitNumber() - Method in class com.graphhopper.util.RoundaboutInstruction
 
INIT_DISABLING_ALLOWED - Static variable in class com.graphhopper.util.Parameters.CH
This property name configures at start if the DISABLE parameter can have an effect.
INIT_DISABLING_ALLOWED - Static variable in class com.graphhopper.util.Parameters.Landmark
This property name configures at start if the DISABLE parameter can have an effect.
INIT_MAX_RETRIES - Static variable in class com.graphhopper.util.Parameters.Algorithms.RoundTrip
 
INIT_MAX_VISITED_NODES - Static variable in class com.graphhopper.util.Parameters.Routing
 
INIT_WAY_POINT_MAX_DISTANCE - Static variable in class com.graphhopper.util.Parameters.Routing
 
Instruction - Class in com.graphhopper.util
 
Instruction(int, String, InstructionAnnotation, PointList) - Constructor for class com.graphhopper.util.Instruction
The points, distances and times have exactly the same count.
InstructionAnnotation - Class in com.graphhopper.util
 
InstructionAnnotation(int, String) - Constructor for class com.graphhopper.util.InstructionAnnotation
 
InstructionList - Class in com.graphhopper.util
List of instructions.
InstructionList(Translation) - Constructor for class com.graphhopper.util.InstructionList
 
InstructionList(int, Translation) - Constructor for class com.graphhopper.util.InstructionList
 
instructions - Variable in class com.graphhopper.Trip.WalkLeg
 
INSTRUCTIONS - Static variable in class com.graphhopper.util.Parameters.Routing
if true the response will contain turn instructions
intersects(Shape) - Method in class com.graphhopper.util.shapes.BBox
 
intersects(RectangleLineIntersector, PointList) - Static method in class com.graphhopper.util.shapes.BBox
 
intersects(PointList) - Method in class com.graphhopper.util.shapes.BBox
 
intersects(Circle) - Method in class com.graphhopper.util.shapes.BBox
 
intersects(double, double, double, double) - Method in class com.graphhopper.util.shapes.BBox
This method calculates if this BBox intersects with the specified BBox
intersects(BBox) - Method in class com.graphhopper.util.shapes.BBox
This method calculates if this BBox intersects with the specified BBox
intersects(Shape) - Method in class com.graphhopper.util.shapes.Circle
 
intersects(PointList) - Method in class com.graphhopper.util.shapes.Circle
 
intersects(BBox) - Method in class com.graphhopper.util.shapes.Circle
 
intersects(Circle) - Method in class com.graphhopper.util.shapes.Circle
 
intersects(Shape) - Method in class com.graphhopper.util.shapes.Polygon
 
intersects(PointList) - Method in class com.graphhopper.util.shapes.Polygon
 
intersects(Shape) - Method in interface com.graphhopper.util.shapes.Shape
 
intersects(PointList) - Method in interface com.graphhopper.util.shapes.Shape
 
intToDegree(int) - Static method in class com.graphhopper.util.Helper
Converts back the integer value.
intToEle(int) - Static method in class com.graphhopper.util.Helper
Converts the integer value retrieved from storage into elevation (in meters).
is3D() - Method in interface com.graphhopper.util.PointAccess
 
is3D - Variable in class com.graphhopper.util.PointList
 
is3D() - Method in class com.graphhopper.util.PointList
 
is3D() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
isClockwise(double, double, double, double, double, double) - Method in class com.graphhopper.util.AngleCalc
 
isCrossBoundary(double, double) - Method in interface com.graphhopper.util.DistanceCalc
 
isCrossBoundary(double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
isDateLineCrossOver(double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
isEmpty(String) - Static method in class com.graphhopper.util.Helper
 
isEmpty() - Method in class com.graphhopper.util.InstructionAnnotation
 
isEmpty() - Method in class com.graphhopper.util.PMap
 
isEmpty() - Method in class com.graphhopper.util.PointList
 
isEmpty() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
isExited() - Method in class com.graphhopper.util.RoundaboutInstruction
 
isFileMapped(ByteBuffer) - Static method in class com.graphhopper.util.Helper
Determines if the specified ByteBuffer is one which maps to a file!
isImmutable() - Method in class com.graphhopper.util.PointList
 
isImmutable() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
isImpossible() - Method in class com.graphhopper.PathWrapper
 
isInSameVehicleAsPrevious - Variable in class com.graphhopper.Trip.PtLeg
 
isToString(InputStream) - Static method in class com.graphhopper.util.Helper
 
isTurnCosts() - Method in class com.graphhopper.config.ProfileConfig
 
isValid() - Method in class com.graphhopper.util.shapes.BBox
 
isValid() - Method in class com.graphhopper.util.shapes.GHPoint
 
iterator() - Method in class com.graphhopper.util.PointList
 

J

join(String, List<String>) - Static method in class com.graphhopper.util.Helper
Equivalent to java 8 String#join
JsonFeature - Class in com.graphhopper.json.geo
This class defines a properties where a geometry is associated.
JsonFeature() - Constructor for class com.graphhopper.json.geo.JsonFeature
 
JsonFeature(String, String, BBox, Geometry, Map<String, Object>) - Constructor for class com.graphhopper.json.geo.JsonFeature
 
JsonFeatureCollection - Class in com.graphhopper.json.geo
 
JsonFeatureCollection() - Constructor for class com.graphhopper.json.geo.JsonFeatureCollection
 

K

KEEP_LEFT - Static variable in class com.graphhopper.util.Instruction
 
KEEP_RIGHT - Static variable in class com.graphhopper.util.Instruction
 
keepIn(double, double, double) - Static method in class com.graphhopper.util.Helper
This methods returns the value or min if too small or max if too big.
KM_MILE - Static variable in class com.graphhopper.util.DistanceCalcEarth
 

L

Landmark() - Constructor for class com.graphhopper.util.Parameters.Landmark
 
lat - Variable in class com.graphhopper.util.shapes.GHPoint
 
LEAVE_ROUNDABOUT - Static variable in class com.graphhopper.util.Instruction
 
Leg(String, String, Geometry, double) - Constructor for class com.graphhopper.Trip.Leg
 
LMProfileConfig - Class in com.graphhopper.config
Corresponds to an entry in the `profiles_lm` section in config.yml and specifies a routing profile that shall be prepared using Landmarks (LM)
LMProfileConfig(String) - Constructor for class com.graphhopper.config.LMProfileConfig
 
load(String) - Method in interface com.graphhopper.GraphHopperAPI
Connects to the specified service (graphhopper URL) or loads a graph from the graphhopper folder.
lon - Variable in class com.graphhopper.util.shapes.GHPoint
 

M

makeImmutable() - Method in class com.graphhopper.util.PointList
Once immutable, there is no way to make this object mutable again.
makeImmutable() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
MAX_NON_CH_POINT_DISTANCE - Static variable in class com.graphhopper.util.Parameters.NON_CH
Describes the maximum allowed distance between two consecutive waypoints of a non-CH request.
MAX_PATHS - Static variable in class com.graphhopper.util.Parameters.Algorithms.AltRoute
 
MAX_SHARE - Static variable in class com.graphhopper.util.Parameters.Algorithms.AltRoute
 
MAX_VISITED_NODES - Static variable in class com.graphhopper.util.Parameters.Routing
 
MAX_WEIGHT - Static variable in class com.graphhopper.util.Parameters.Algorithms.AltRoute
 
maxEle - Variable in class com.graphhopper.util.shapes.BBox
 
maxLat - Variable in class com.graphhopper.util.shapes.BBox
 
maxLon - Variable in class com.graphhopper.util.shapes.BBox
 
MB - Static variable in class com.graphhopper.util.Helper
 
merge(List<PathDetail>, List<PathDetail>) - Static method in class com.graphhopper.PathWrapper
Merges otherDetails into the pathDetails.
METERS_PER_DEGREE - Static variable in class com.graphhopper.util.DistanceCalcEarth
 
minEle - Variable in class com.graphhopper.util.shapes.BBox
 
minLat - Variable in class com.graphhopper.util.shapes.BBox
 
minLon - Variable in class com.graphhopper.util.shapes.BBox
 

N

name - Variable in class com.graphhopper.util.Instruction
 
nf(long) - Static method in class com.graphhopper.util.Helper
 
NON_CH() - Constructor for class com.graphhopper.util.Parameters.NON_CH
 
NumHelper - Class in com.graphhopper.util
 
NumHelper() - Constructor for class com.graphhopper.util.NumHelper
 

P

Parameters - Class in com.graphhopper.util
 
Parameters() - Constructor for class com.graphhopper.util.Parameters
 
Parameters.Algorithms - Class in com.graphhopper.util
Parameters that can be used for algorithm.
Parameters.Algorithms.AltRoute - Class in com.graphhopper.util
All public properties for alternative routing.
Parameters.Algorithms.AStar - Class in com.graphhopper.util
 
Parameters.Algorithms.AStarBi - Class in com.graphhopper.util
 
Parameters.Algorithms.RoundTrip - Class in com.graphhopper.util
All public properties for round trip calculation.
Parameters.CH - Class in com.graphhopper.util
Properties for routing with contraction hierarchies speedup
Parameters.Curbsides - Class in com.graphhopper.util
Possible values of Parameters.Routing.CURBSIDE
Parameters.Details - Class in com.graphhopper.util
Properties for the details response
Parameters.Landmark - Class in com.graphhopper.util
Properties for routing with landmark speedup
Parameters.NON_CH - Class in com.graphhopper.util
Properties for non-CH routing
Parameters.Routing - Class in com.graphhopper.util
Parameters that can be passed as hints and influence routing per request.
parse2DJSON(String) - Method in class com.graphhopper.util.PointList
Takes the string from a json array ala [lon1,lat1], [lon2,lat2], ...
parse2DJSON(String) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
parseBBoxString(String) - Static method in class com.graphhopper.util.shapes.BBox
This method creates a BBox out of a string in format lon1,lon2,lat1,lat2
parsePoints(String) - Static method in class com.graphhopper.util.shapes.Polygon
 
parseTwoPoints(String) - Static method in class com.graphhopper.util.shapes.BBox
This method creates a BBox out of a string in format lat1,lon1,lat2,lon2
PASS_THROUGH - Static variable in class com.graphhopper.util.Parameters.Routing
true or false.
PATH_DETAILS - Static variable in class com.graphhopper.util.Parameters.Details
 
PathDetail - Class in com.graphhopper.util.details
A detail information of a Path
PathDetail(long) - Constructor for class com.graphhopper.util.details.PathDetail
 
PathDetail(double) - Constructor for class com.graphhopper.util.details.PathDetail
 
PathDetail(boolean) - Constructor for class com.graphhopper.util.details.PathDetail
 
PathDetail(String) - Constructor for class com.graphhopper.util.details.PathDetail
 
PathWrapper - Class in com.graphhopper
This class holds the data like points and instructions of a Path.
PathWrapper() - Constructor for class com.graphhopper.PathWrapper
 
plannedArrivalTime - Variable in class com.graphhopper.Trip.Stop
 
plannedDepartureTime - Variable in class com.graphhopper.Trip.Stop
 
PMap - Class in com.graphhopper.util
A properties map (String to String) with convenient accessors
PMap() - Constructor for class com.graphhopper.util.PMap
 
PMap(int) - Constructor for class com.graphhopper.util.PMap
 
PMap(Map<String, Object>) - Constructor for class com.graphhopper.util.PMap
 
PMap(PMap) - Constructor for class com.graphhopper.util.PMap
 
PMap(String) - Constructor for class com.graphhopper.util.PMap
 
POINT_HINT - Static variable in class com.graphhopper.util.Parameters.Routing
 
PointAccess - Interface in com.graphhopper.util
 
PointDistanceExceededException - Exception in com.graphhopper.util.exceptions
If a route cannot be found due to disconnected graphs.
PointDistanceExceededException(String, Map<String, Object>) - Constructor for exception com.graphhopper.util.exceptions.PointDistanceExceededException
 
pointIndex - Variable in exception com.graphhopper.util.exceptions.PointNotFoundException
 
PointList - Class in com.graphhopper.util
Slim list to store several points (without the need for a point object).
PointList() - Constructor for class com.graphhopper.util.PointList
 
PointList(int, boolean) - Constructor for class com.graphhopper.util.PointList
 
PointNotFoundException - Exception in com.graphhopper.util.exceptions
Represents an instance of the "Cannot find Point" Exception, whereas the Point that cannot be found is at pointIndex.
PointNotFoundException(String, int) - Constructor for exception com.graphhopper.util.exceptions.PointNotFoundException
 
PointOutOfBoundsException - Exception in com.graphhopper.util.exceptions
Refinement of the CannotFindPointException that indicates that a point is placed out of the graphs bounds
PointOutOfBoundsException(String, int) - Constructor for exception com.graphhopper.util.exceptions.PointOutOfBoundsException
 
points - Variable in class com.graphhopper.util.Instruction
 
POINTS - Static variable in class com.graphhopper.util.Parameters.Algorithms.RoundTrip
 
Polygon - Class in com.graphhopper.util.shapes
This class represents a polygon that is defined by a set of points.
Polygon(PreparedGeometry) - Constructor for class com.graphhopper.util.shapes.Polygon
 
Polygon(double[], double[]) - Constructor for class com.graphhopper.util.shapes.Polygon
 
predictedArrivalTime - Variable in class com.graphhopper.Trip.Stop
 
predictedDepartureTime - Variable in class com.graphhopper.Trip.Stop
 
PREPARE - Static variable in class com.graphhopper.util.Parameters.CH
 
PREPARE - Static variable in class com.graphhopper.util.Parameters.Landmark
 
ProfileConfig - Class in com.graphhopper.config
Corresponds to the `profile` section in `config.yml` and specifies the properties of a routing profile.
ProfileConfig(String) - Constructor for class com.graphhopper.config.ProfileConfig
 
projectCoordinate(double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
This methods creates a point (lat, lon in degrees) in a certain distance and direction from the specified point (lat, lon in degrees).
projectCoordinate(double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
pruneFileEnd(String) - Static method in class com.graphhopper.util.Helper
 
PT_END_TRIP - Static variable in class com.graphhopper.util.Instruction
 
PT_START_TRIP - Static variable in class com.graphhopper.util.Instruction
 
PT_TRANSFER - Static variable in class com.graphhopper.util.Instruction
 
PtLeg(String, boolean, String, String, String, List<Trip.Stop>, double, long, Geometry) - Constructor for class com.graphhopper.Trip.PtLeg
 
put(String, String) - Method in class com.graphhopper.routing.util.HintsMap
Deprecated.
put(String, String) - Method in class com.graphhopper.util.PMap
Deprecated.
putAll(PMap) - Method in class com.graphhopper.util.PMap
 
putHint(String, Object) - Method in class com.graphhopper.config.ProfileConfig
 
putHint(String, Object) - Method in class com.graphhopper.GHRequest
This method sets a key value pair in the hints and is unrelated to the setPointHints method.
putObject(String, Object) - Method in class com.graphhopper.GraphHopperConfig
 
putObject(String, Object) - Method in class com.graphhopper.routing.util.HintsMap
 
putObject(String, Object) - Method in class com.graphhopper.util.PMap
 

R

R - Static variable in class com.graphhopper.util.DistanceCalcEarth
mean radius of the earth
R_EQ - Static variable in class com.graphhopper.util.DistanceCalcEarth
Radius of the earth at equator
rawName - Variable in class com.graphhopper.util.Instruction
 
REACHED_VIA - Static variable in class com.graphhopper.util.Instruction
 
read(String[]) - Static method in class com.graphhopper.util.PMap
Reads a PMap from a string array consisting of key=value pairs
readFile(String) - Static method in class com.graphhopper.util.Helper
 
readFile(Reader) - Static method in class com.graphhopper.util.Helper
 
remove(int) - Method in class com.graphhopper.util.InstructionList
 
remove(String) - Method in class com.graphhopper.util.PMap
 
removeDir(File) - Static method in class com.graphhopper.util.Helper
 
removeLastPoint() - Method in class com.graphhopper.util.PointList
 
removeLastPoint() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
reverse() - Method in class com.graphhopper.util.PointList
 
reverse() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
round(double, int) - Static method in class com.graphhopper.util.Helper
Round the value to the specified exponent
round2(double) - Static method in class com.graphhopper.util.Helper
 
round4(double) - Static method in class com.graphhopper.util.Helper
 
round6(double) - Static method in class com.graphhopper.util.Helper
 
ROUND_TRIP - Static variable in class com.graphhopper.util.Parameters.Algorithms
round trip algorithm (not yet for CH)
RoundaboutInstruction - Class in com.graphhopper.util
 
RoundaboutInstruction(int, String, InstructionAnnotation, PointList) - Constructor for class com.graphhopper.util.RoundaboutInstruction
 
RoundTrip() - Constructor for class com.graphhopper.util.Parameters.Algorithms.RoundTrip
 
route(GHRequest) - Method in interface com.graphhopper.GraphHopperAPI
Calculates the path from specified request visiting the specified locations.
route_id - Variable in class com.graphhopper.Trip.PtLeg
 
Routing() - Constructor for class com.graphhopper.util.Parameters.Routing
 

S

saveProperties(Map<String, String>, Writer) - Static method in class com.graphhopper.util.Helper
 
SEED - Static variable in class com.graphhopper.util.Parameters.Algorithms.RoundTrip
 
set(int, Instruction) - Method in class com.graphhopper.util.InstructionList
 
set(int, double, double, double) - Method in class com.graphhopper.util.PointList
 
set(int, double, double, double) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
setAlgorithm(String) - Method in class com.graphhopper.GHRequest
For possible values see AlgorithmOptions.*
setAscend(double) - Method in class com.graphhopper.PathWrapper
 
setBbox(BBox) - Method in class com.graphhopper.json.geo.JsonFeature
 
setCHProfiles(List<CHProfileConfig>) - Method in class com.graphhopper.GraphHopperConfig
 
setCurbsides(List<String>) - Method in class com.graphhopper.GHRequest
 
setDescend(double) - Method in class com.graphhopper.PathWrapper
 
setDescription(List<String>) - Method in class com.graphhopper.PathWrapper
 
setDirOfRotation(double) - Method in class com.graphhopper.util.RoundaboutInstruction
 
setDistance(double) - Method in class com.graphhopper.PathWrapper
 
setDistance(double) - Method in class com.graphhopper.util.Instruction
 
setElevation(int, double) - Method in class com.graphhopper.util.PointList
 
setElevation(int, double) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
setExited() - Method in class com.graphhopper.util.RoundaboutInstruction
 
setExitNumber(int) - Method in class com.graphhopper.util.RoundaboutInstruction
 
setExtraInfo(String, Object) - Method in class com.graphhopper.util.Instruction
 
setFare(BigDecimal) - Method in class com.graphhopper.PathWrapper
 
setFirst(int) - Method in class com.graphhopper.util.details.PathDetail
 
setGeometry(Geometry) - Method in class com.graphhopper.json.geo.JsonFeature
 
setHeadings(List<Double>) - Method in class com.graphhopper.GHRequest
 
setId(String) - Method in class com.graphhopper.json.geo.JsonFeature
 
setImpossible(boolean) - Method in class com.graphhopper.PathWrapper
 
setInstructions(InstructionList) - Method in class com.graphhopper.PathWrapper
 
setLast(int) - Method in class com.graphhopper.util.details.PathDetail
 
setLMProfiles(List<LMProfileConfig>) - Method in class com.graphhopper.GraphHopperConfig
 
setLocale(Locale) - Method in class com.graphhopper.GHRequest
 
setLocale(String) - Method in class com.graphhopper.GHRequest
 
setMaximumLMWeight(double) - Method in class com.graphhopper.config.LMProfileConfig
 
setName(String) - Method in class com.graphhopper.config.ProfileConfig
 
setName(String) - Method in class com.graphhopper.util.Instruction
 
setNode(int, double, double) - Method in interface com.graphhopper.util.PointAccess
This method ensures that the node with the specified index exists and prepares access to it.
setNode(int, double, double, double) - Method in interface com.graphhopper.util.PointAccess
This method ensures that the node with the specified index exists and prepares access to it.
setNode(int, double, double) - Method in class com.graphhopper.util.PointList
 
setNode(int, double, double, double) - Method in class com.graphhopper.util.PointList
 
setNode(int, double, double) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
setNode(int, double, double, double) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
setNumChanges(int) - Method in class com.graphhopper.PathWrapper
 
setPathDetails(List<String>) - Method in class com.graphhopper.GHRequest
 
setPointHints(List<String>) - Method in class com.graphhopper.GHRequest
 
setPoints(List<GHPoint>) - Method in class com.graphhopper.GHRequest
 
setPoints(PointList) - Method in class com.graphhopper.PathWrapper
 
setPoints(PointList) - Method in class com.graphhopper.util.Instruction
 
setPointsOrder(List<Integer>) - Method in class com.graphhopper.PathWrapper
 
setProfiles(List<ProfileConfig>) - Method in class com.graphhopper.GraphHopperConfig
 
setProperties(Map<String, Object>) - Method in class com.graphhopper.json.geo.JsonFeature
 
setRadian(double) - Method in class com.graphhopper.util.RoundaboutInstruction
The radian value between entrance (in) and exit (out) of this roundabout.
setRouteWeight(double) - Method in class com.graphhopper.PathWrapper
 
setSign(int) - Method in class com.graphhopper.util.Instruction
 
setSnapPreventions(List<String>) - Method in class com.graphhopper.GHRequest
 
setTime(long) - Method in class com.graphhopper.PathWrapper
 
setTime(long) - Method in class com.graphhopper.util.Instruction
 
setTurnCosts(boolean) - Method in class com.graphhopper.config.ProfileConfig
 
setUseRawName() - Method in class com.graphhopper.util.Instruction
This method does not perform translation or combination with the sign - it just uses the provided name as instruction.
setVehicle(String) - Method in class com.graphhopper.config.ProfileConfig
 
setVehicle(String) - Method in class com.graphhopper.GHRequest
Specify car, bike or foot.
setVehicle(String) - Method in class com.graphhopper.routing.util.HintsMap
 
setViaCount(int) - Method in class com.graphhopper.util.ViaInstruction
 
setWaypoints(PointList) - Method in class com.graphhopper.PathWrapper
This method initializes this path with the snapped input points.
setWeighting(String) - Method in class com.graphhopper.config.ProfileConfig
 
setWeighting(String) - Method in class com.graphhopper.GHRequest
By default it supports fastest and shortest.
setWeighting(String) - Method in class com.graphhopper.routing.util.HintsMap
 
shallowCopy(int, int, boolean) - Method in class com.graphhopper.util.PointList
Create a shallow copy of this Pointlist from from to end, excluding end.
ShallowImmutablePointList - Class in com.graphhopper.util
This is a shallow copy of a PointList.
ShallowImmutablePointList(int, int, PointList) - Constructor for class com.graphhopper.util.ShallowImmutablePointList
 
Shape - Interface in com.graphhopper.util.shapes
A shape interface to implement circles, polygons or rectangles.
sign - Variable in class com.graphhopper.util.Instruction
 
size() - Method in class com.graphhopper.util.InstructionList
 
size - Variable in class com.graphhopper.util.PointList
 
size() - Method in class com.graphhopper.util.PointList
 
size() - Method in class com.graphhopper.util.ShallowImmutablePointList
 
SNAP_PREVENTION - Static variable in class com.graphhopper.util.Parameters.Routing
 
Stop(String, String, Point, Date, Date, Date, boolean, Date, Date, Date, boolean) - Constructor for class com.graphhopper.Trip.Stop
 
stop_id - Variable in class com.graphhopper.Trip.Stop
 
stop_name - Variable in class com.graphhopper.Trip.Stop
 
stops - Variable in class com.graphhopper.Trip.PtLeg
 
STREET_NAME - Static variable in class com.graphhopper.util.Parameters.Details
 

T

time - Variable in class com.graphhopper.util.Instruction
 
TIME - Static variable in class com.graphhopper.util.Parameters.Details
 
toEnvelope(BBox) - Static method in class com.graphhopper.util.shapes.BBox
 
toGeoJson() - Method in class com.graphhopper.util.shapes.BBox
 
toGeoJson() - Method in class com.graphhopper.util.shapes.GHPoint
Attention: geoJson is LON,LAT
toGeoJson() - Method in class com.graphhopper.util.shapes.GHPoint3D
 
toLessPrecisionString() - Method in class com.graphhopper.util.shapes.BBox
 
toLineString(boolean) - Method in class com.graphhopper.util.PointList
 
toLowerCase(String) - Static method in class com.graphhopper.util.Helper
 
toMap() - Method in class com.graphhopper.util.PMap
This method copies the underlying structure into a new Map object
toObject(String) - Static method in class com.graphhopper.util.Helper
This method probes the specified string for a boolean, int, long, float and double.
toShortString() - Method in class com.graphhopper.util.shapes.GHPoint
 
toSignedInt(long) - Static method in class com.graphhopper.util.Helper
Converts the specified long back into a signed int (reverse method for toUnsignedLong)
toString() - Method in class com.graphhopper.config.CHProfileConfig
 
toString() - Method in class com.graphhopper.config.LMProfileConfig
 
toString() - Method in class com.graphhopper.config.ProfileConfig
 
toString() - Method in class com.graphhopper.GHRequest
 
toString() - Method in class com.graphhopper.GHResponse
 
toString() - Method in class com.graphhopper.GraphHopperConfig
 
toString() - Method in class com.graphhopper.json.geo.JsonFeature
 
toString() - Method in class com.graphhopper.PathWrapper
 
toString() - Method in class com.graphhopper.Trip.Stop
 
toString() - Method in class com.graphhopper.util.details.PathDetail
 
toString() - Method in class com.graphhopper.util.DistanceCalc3D
 
toString() - Method in class com.graphhopper.util.DistanceCalcEarth
 
toString() - Method in class com.graphhopper.util.DistancePlaneProjection
 
toString() - Method in class com.graphhopper.util.Instruction
 
toString() - Method in class com.graphhopper.util.InstructionAnnotation
 
toString() - Method in class com.graphhopper.util.PMap
 
toString() - Method in class com.graphhopper.util.PointList
 
toString() - Method in class com.graphhopper.util.shapes.BBox
 
toString() - Method in class com.graphhopper.util.shapes.Circle
 
toString() - Method in class com.graphhopper.util.shapes.GHPoint
 
toString() - Method in class com.graphhopper.util.shapes.GHPoint3D
 
toString() - Method in class com.graphhopper.util.shapes.Polygon
 
toUnsignedLong(int) - Static method in class com.graphhopper.util.Helper
This method handles the specified (potentially negative) int as unsigned bit representation and returns the positive converted long.
toUpperCase(String) - Static method in class com.graphhopper.util.Helper
 
tr(String, Object...) - Method in interface com.graphhopper.util.Translation
 
Translation - Interface in com.graphhopper.util
 
travelTime - Variable in class com.graphhopper.Trip.PtLeg
 
trimToSize(int) - Method in class com.graphhopper.util.PointList
 
trimToSize(int) - Method in class com.graphhopper.util.ShallowImmutablePointList
 
Trip - Class in com.graphhopper
 
Trip() - Constructor for class com.graphhopper.Trip
 
Trip.Leg - Class in com.graphhopper
 
Trip.PtLeg - Class in com.graphhopper
 
Trip.Stop - Class in com.graphhopper
 
Trip.WalkLeg - Class in com.graphhopper
 
trip_headsign - Variable in class com.graphhopper.Trip.PtLeg
 
trip_id - Variable in class com.graphhopper.Trip.PtLeg
 
TURN_COSTS - Static variable in class com.graphhopper.util.Parameters.Routing
 
TURN_LEFT - Static variable in class com.graphhopper.util.Instruction
 
TURN_RIGHT - Static variable in class com.graphhopper.util.Instruction
 
TURN_SHARP_LEFT - Static variable in class com.graphhopper.util.Instruction
 
TURN_SHARP_RIGHT - Static variable in class com.graphhopper.util.Instruction
 
TURN_SLIGHT_LEFT - Static variable in class com.graphhopper.util.Instruction
 
TURN_SLIGHT_RIGHT - Static variable in class com.graphhopper.util.Instruction
 
type - Variable in class com.graphhopper.Trip.Leg
 

U

U_TURN_COSTS - Static variable in class com.graphhopper.util.Parameters.Routing
 
U_TURN_LEFT - Static variable in class com.graphhopper.util.Instruction
 
U_TURN_RIGHT - Static variable in class com.graphhopper.util.Instruction
 
U_TURN_UNKNOWN - Static variable in class com.graphhopper.util.Instruction
 
underScoreToCamelCase(String) - Static method in class com.graphhopper.util.Helper
 
UNKNOWN - Static variable in class com.graphhopper.util.Instruction
 
update(double, double) - Method in class com.graphhopper.util.shapes.BBox
 
update(double, double, double) - Method in class com.graphhopper.util.shapes.BBox
 
USE_ROUNDABOUT - Static variable in class com.graphhopper.util.Instruction
 
UTC - Static variable in class com.graphhopper.util.Helper
 
UTF_CS - Static variable in class com.graphhopper.util.Helper
 

V

validateProfileName(String) - Static method in class com.graphhopper.config.ProfileConfig
 
validEdgeDistance(double, double, double, double, double, double) - Method in interface com.graphhopper.util.DistanceCalc
This method decides for case 1: if we should use distance(r to edge) where r=(lat,lon) or case 2: min(distance(r to a), distance(r to b)) where edge=(a to b).
validEdgeDistance(double, double, double, double, double, double) - Method in class com.graphhopper.util.DistanceCalcEarth
 
ViaInstruction - Class in com.graphhopper.util
 
ViaInstruction(String, InstructionAnnotation, PointList) - Constructor for class com.graphhopper.util.ViaInstruction
 
ViaInstruction(Instruction) - Constructor for class com.graphhopper.util.ViaInstruction
 

W

WalkLeg(String, Date, Geometry, double, InstructionList, Date) - Constructor for class com.graphhopper.Trip.WalkLeg
 
WAY_POINT_MAX_DISTANCE - Static variable in class com.graphhopper.util.Parameters.Routing
configure simplification of returned point list
WEIGHT - Static variable in class com.graphhopper.util.Parameters.Details
 
A B C D E F G H I J K L M N P R S T U V W 
Skip navigation links

Copyright © 2012–2020. All rights reserved.