Package | Description |
---|---|
com.graphhopper |
Modifier and Type | Method and Description |
---|---|
GraphHopper |
GraphHopper.importOrLoad()
Imports provided data from disc and creates graph.
|
GraphHopper |
GraphHopper.init(GraphHopperConfig ghConfig)
Reads the configuration from a
GraphHopperConfig object which can be manually filled, or more typically
is read from `config.yml`. |
GraphHopper |
GraphHopper.setAllowWrites(boolean allowWrites)
Specifies if it is allowed for GraphHopper to write.
|
GraphHopper |
GraphHopper.setCountryRuleFactory(CountryRuleFactory countryRuleFactory)
Sets the factory used to create country rules.
|
GraphHopper |
GraphHopper.setCustomAreasDirectory(String customAreasDirectory) |
GraphHopper |
GraphHopper.setElevation(boolean includeElevation)
Enable storing and fetching elevation data.
|
GraphHopper |
GraphHopper.setElevationProvider(ElevationProvider eleProvider) |
GraphHopper |
GraphHopper.setEncodedValueFactory(EncodedValueFactory factory) |
GraphHopper |
GraphHopper.setEncodedValuesString(String encodedValuesString) |
GraphHopper |
GraphHopper.setGraphHopperLocation(String ghLocation)
Sets the graphhopper folder.
|
GraphHopper |
GraphHopper.setMinNetworkSize(int minNetworkSize) |
GraphHopper |
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 |
GraphHopper.setPathDetailsBuilderFactory(PathDetailsBuilderFactory pathBuilderFactory) |
GraphHopper |
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 |
GraphHopper.setProfiles(List<Profile> profiles) |
GraphHopper |
GraphHopper.setProfiles(Profile... profiles)
Sets the routing profiles that shall be supported by this GraphHopper instance.
|
GraphHopper |
GraphHopper.setSortGraph(boolean sortGraph)
Sorts the graph which requires more RAM while import.
|
GraphHopper |
GraphHopper.setStoreOnFlush(boolean storeOnFlush)
Only valid option for in-memory graph and if you e.g.
|
GraphHopper |
GraphHopper.setTagParserFactory(TagParserFactory factory) |
GraphHopper |
GraphHopper.setUrbanDensityCalculation(double residentialAreaRadius,
double residentialAreaSensitivity,
double cityAreaRadius,
double cityAreaSensitivity,
int threads)
Configures the urban density classification.
|
GraphHopper |
GraphHopper.setVehicleEncodedValuesFactory(VehicleEncodedValuesFactory factory) |
GraphHopper |
GraphHopper.setVehiclesString(String vehiclesString) |
GraphHopper |
GraphHopper.setVehicleTagParserFactory(VehicleTagParserFactory factory) |
Copyright © 2012–2022. All rights reserved.