Uses of Class
com.graphhopper.GraphHopper
Packages that use GraphHopper
-
Uses of GraphHopper in com.graphhopper
Methods in com.graphhopper that return GraphHopperModifier and TypeMethodDescriptionGraphHopper.importOrLoad()
Imports provided data from disc and creates graph.GraphHopper.init
(GraphHopperConfig ghConfig) Reads the configuration from aGraphHopperConfig
object which can be manually filled, or more typically is read from `config.yml`.GraphHopper.setAllowWrites
(boolean allowWrites) Specifies if it is allowed for GraphHopper to write.GraphHopper.setCountryRuleFactory
(CountryRuleFactory countryRuleFactory) Sets the factory used to create country rules.GraphHopper.setCustomAreasDirectory
(String customAreasDirectory) GraphHopper.setElevation
(boolean includeElevation) Enable storing and fetching elevation data.GraphHopper.setElevationProvider
(ElevationProvider eleProvider) GraphHopper.setEncodedValuesString
(String encodedValuesString) GraphHopper.setGraphHopperLocation
(String ghLocation) Sets the graphhopper folder.GraphHopper.setImportRegistry
(ImportRegistry importRegistry) GraphHopper.setMaxSpeedCalculator
(MaxSpeedCalculator maxSpeedCalculator) GraphHopper.setMinNetworkSize
(int minNetworkSize) GraphHopper.setOSMFile
(String osmFile) This file can be an osm xml (.osm), a compressed xml (.osm.zip or .osm.gz) or a protobuf file (.pbf).GraphHopper.setPathDetailsBuilderFactory
(PathDetailsBuilderFactory pathBuilderFactory) GraphHopper.setPreciseIndexResolution
(int precision) Precise location resolution index means also more space (disc/RAM) could be consumed and probably slower query times, which would be e.g.GraphHopper.setProfiles
(Profile... profiles) Sets the routing profiles that shall be supported by this GraphHopper instance.GraphHopper.setProfiles
(List<Profile> profiles) GraphHopper.setStoreOnFlush
(boolean storeOnFlush) Only valid option for in-memory graph and if you e.g.GraphHopper.setUrbanDensityCalculation
(double residentialAreaRadius, double residentialAreaSensitivity, double cityAreaRadius, double cityAreaSensitivity, int threads) Configures the urban density classification.